In C++, members of a struct are by default:
Show answerHide answer
Correct answer: (C) public
Explanation
struct defaults to public; class to private.
Correct answer: (C) public
Explanation
struct defaults to public; class to private.
This is question 135 of DSSSB TGT Computer Science Full Mock Test 3. 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.