Q.

Which of the following is true?

A. All objects of a class share all data members of class
B. Objects of a class do not share non-static members. Every object has its own copy.
C. Objects of a class do not share codes of non-static methods, they have their own copy
D. None of the above
Answer» B. Objects of a class do not share non-static members. Every object has its own copy.
1.4k
0
Do you find this helpful?
9

View all MCQs in

CPP Programming

Discussion

No comments yet

Related MCQs