In C++, all members of a class are _____ by default.
Show answerHide answer
Correct answer: (B) private
Explanation
In C++, members of a class are private by default unless an access specifier says otherwise.
Correct answer: (B) private
Explanation
In C++, members of a class are private by default unless an access specifier says otherwise.
This is question 98 of BPSC TRE 2.0 (2023) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.