πŸ“Š C++
Q. Static variable in a class is initialized when _____ .
  • (A) every object of the class is created.
  • (B) last object of the class is created.
  • (C) first object of the class is created.
  • (D) No need to initialize static variable.
πŸ’¬ Discuss
βœ… Correct Answer: (C) first object of the class is created.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
189
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
89%
Success Rate