Page 1 of 1

Which of the following is correct in C++?

Posted: Wed Jul 13, 2022 7:51 pm
by answerhappygod
a) Classes cannot have protected data members
b) Structures can have member functions
c) Class members are public by default
d) Structure members are private by default