MCQ of C/C++ Programming Language – Set 5
5.1 By default, members of a C++ class are: a. Private b. Public c. Protected d. None of the above 5.2 Which of the following statements is true in C++? a. A struct cannot have member functions. b. A struct cannot have private members.