Loading practice questions
Can main() function be made private?
Correct Answer: C — No, never
Explanation:
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.