← Quiz: C++ Classes and Objects: all 10 questions
Quiz: C++ Classes and Objects · Question 5 of 10
How many copies of a static data member exist for 100 objects?
How many copies of a static data member exist for 100 objects?
- A.100
- B.1
- C.0
- D.101
Answer & explanation
Correct answer: 1
Static members are shared by the whole class.
Can you get the rest right without peeking?
Take the timed Quiz: C++ Classes and Objects quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →