Question: can c program compile without main?
Answer: So the third line “int begin” is replaced by “int main” by the preprocessor before the program is passed on for the compiler. That's it… So actually C program can never run without a main() . We are just disguising the main() with the preprocessor, but actually there exists a hidden main function in the program.