Can a program be compiled without main() function?

Short Answer
Views 3263

Answer:

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

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.