+ 9
Short answer, no.
Not-so-long answer, you can compile it to object files (.o) and halt there without calling the linker, but you obviously cannot run it since it isn't a complete program.
0
I think in C/C++ the compiler start executing starting with main function so without it,it won't run.
0
we can compile the C Program without main function
but while execution main function first executable statement of the program