ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Can main() function be made private?
Correct Answer: C — No, never
The reason given in option “No, because main function is user defined” is wrong. The proper reason that the main function should not be private is that it should be accessible in whole program. This makes the program flexible.