Yes, it is possible to compile a program in C without the main function, but it will not get executed. This is because the execution starts only from the main function. This function is the entry point of every program in C. All pre-defined or user-defined functions are directly or indirectly called through the main function.

BY Best Interview Question ON 06 Feb 2019