The c program starts with 'main' function because it's compiler is designed that way. so during the compile time, the compiler looks for main function and through that it binds all the other user defined functions.
After main()
No you can't. main() is the entry point of a C program where execution starts. Only a single main() can exist in a C program. A program with 2 mains wil not even compile successfully.
The entry point of a C program is the main function.The function signature might be like one of these:1. int main (void)2. int main (int argc, char *argv[])
Yes. Windows GUI application are the tipical examples, their execution starts with 'WinMain', not 'main'
Because if you donot use main function in c program, the compiler willnot execute the program.C compiler starts execution from main function itself.
Every C program must have a function, named main(), which is where the program starts execution. If there is no function main(), the computer does not know where to start running the program. The function main() must also do something; if it is just empty, some smarter compilers will note that there is nothing for the program to do, and will give this sort of error message to indicate that you forgot to tell the program what to do.
A main function must be present in every C program.
The execution of the program starts with function main, wherever it is in the source.
Into the source program.
chemistry
Every program requires an entry point. Main() provides the entry point in C.
main() is the function from where the execution starts.