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
Which of the following statements is correct in C++?