Home / Questions / Can a program be compiled without main() function?
Explanatory Question

Can a program be compiled without main() function?

👁 3,326 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Yes, it can be but cannot be executed, as the execution requires main() function definition.