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
None of these

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation