Is it possible to run a c program without using main?If yes
HOW??
Answer Posted / rajiv kumar koiri
#include<stdio.h>
#define decode(s,t,u,m,p,e,d) m##s##u##t
#define begin decode(a,n,i,m,a,t,e)
int begin()
{
printf("Hello");
}
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
How are variables declared in c?
Write a program to show the change in position of a cursor using c
What is the best style for code layout in c?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
Is it cc or c in a letter?
What functions are used in dynamic memory allocation in c?
What is union and structure?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
Can you please explain the scope of static variables?
What are types of preprocessor in c?
How can I avoid the abort, retry, fail messages?
What are external variables in c?
List a few unconditional control statement in c.
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon