Which of the following statements is correct in C++?

1
Classes cannot have data as protected
2
Structures can have functions as members
3
Class members are public by default
4
Structure members are private by default
5
None of the above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation