It is not clear why would you want two functions with the same name. If you simply like the sound of word 'main', you can have one static 'main' function in each source files, but those functions won't be callable from outside.
Because if you donot use main function in c program, the compiler willnot execute the program.C compiler starts execution from main function itself.
Yes
No. You can only have one main() function in a C or C++ program.Note:If this question means "Will the OS start two threads/processes if I have two public scope 'main' functions in my program?"then the answer is "No, even if you could link such program, which you cannot."
The main function defines the entry point of an application in C.
To return the exp. or const to the main fumction.
in c main function initailly called by operating system.
if you do not used main function in c program when errors are accrued
To return the exp. or const to the main fumction.
A main function must be present in every C program.
The main function is the entry point for the application. Each program written in C or C++ will start at the first line in the main function, and cease execution once the main function returns control to the operating system (either via a return keyword in the main function, an exit(3) function call, or by "running off" the end of the main function). A program will not compile if it is missing the main function. Some variants of C++ have an alternate entry point (including those written for Microsoft Windows).
I don't use that function in C programme.
No, it should be int type or void.