Beginner
C++
Q32 / 100
What is a static member in C++?
Correct! Well done.
Incorrect.
The correct answer is B) A member shared by all instances of a class, existing independently of any object
B
Correct Answer
A member shared by all instances of a class, existing independently of any object
Explanation
static data members are shared across all objects. Static member functions can be called without an instance and cannot access non-static members.
Progress
32/100