Yes, we can compile, but it can’t be executed.
But, if we use #define, we can compile and run a C program without using the main() function. For example:
Sandhya Answered question June 28, 2023
yes. We can write program, that has no main() function. In many places, we have seen that the main() is the entry point of a program execution. Just from the programmers perspective this is true.
Sandhya Answered question June 28, 2023
