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

1
A struct cannot have member functions
2
A struct cannot have private members
3
The default access modifier of struct is public
4
More than one of the above
5
None of the above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation