Home »
MCQs »
OOPs MCQs
____ member variables are initialized to zero when the first object of its class is created?
24. ____ member variables are initialized to zero when the first object of its class is created?
- Static
- Local
- Global
- External
Answer: A) Static
Explanation:
Static member variables are initialized to zero when the first object of its class is created. NO other alternative is provided.