how to execute with out main in cprogram
Answer Posted / sushil kumar
Well Done !!!!!!!
I can give an explanation
When a c program is compiled the preprocessor process the code and replace the macros in the code
IN void rawat()
#define rawat ravinder(m,b,a,j,n,i) replaces rawat so code becomes
void ravinder(m,b,a,j,n,i)()
which calls the first macro to replace ravinder(m,b,a,j,n,i) by m##a##i##n i.e main
so now we have
void main()
that's why this code executes correctly
C always requires a main program to execute
Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
Why n++ execute faster than n+1 ?
Describe dynamic data structure in c programming language?
What does malloc () calloc () realloc () free () do?
What is c token?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
can any one provide me the notes of data structure for ignou cs-62 paper
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
Does c have circular shift operators?
What is file in c preprocessor?
How important is structure in life?
Explain the term printf() and scanf() used in c language?
How do I read the arrow keys? What about function keys?
Explain what happens if you free a pointer twice?
Is c# a good language?