how to execute with out main in cprogram
Answer Posted / himanshu rajput
Sushil kumar is right.exactly this is being happened in that program.That program is also using main function by the reference of other name.so c program always requires main function and does'nt have any mean without main.
but we do'nt need to write clrscr() and getch() function to our program in latest compilers like as DEV-C++.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is "Hungarian Notation"?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What is scanf_s in c?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
Add Two Numbers Without Using the Addition Operator
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
How can I write a function that takes a format string and a variable number of arguments?
Can a void pointer point to a function?
What are the different file extensions involved when programming in C?
I need testPalindrome and removeSpace
#include
What is the difference between malloc() and calloc() function in c language?
Do you know the difference between exit() and _exit() function in c?
What is the difference between break and continue?
In c language can we compile a program without main() function?
What are the complete rules for header file searching?