Global
Guideline
Comprehensive Job Interviews
Home
Interview Questions
Online Quiz Tests
Blog
Contact Us
Close Menu
Copyright © 2005 - 2024. All Rights Reserved
Search
Home
Interviews
C++ Language
C++ Static Data
C++ Static Data Question:
Static variable must be declared in public section of the class.
a. True
b. False
Tweet
Share
WhatsApp
Download PDF
Answer:
b. False
Download C++ Static Data PDF
Read All 17 C++ Static Data Questions
Previous Question
Next Question
Static variable declared in a class are also called_________.
a. instance variable
b. named constant
c. global variable
d. class variable
If a class contains static variable, then every object of the class has its copy of static variable.
a. True
b. False