Can a program be compiled without main() function?

Trainee Asked on August 15, 2019 in C++ Language.
Add Comment
1 Answer(s)

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

Supporter Answered on August 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.