Which of the following is correct about static variables?
A. Static functions do not support polymorphism
B. Static data members cannot be accessed by non-static member functions
C. Static data members functions can access only static data members
D. Static data members functions can access both static and non-static data members
Answer: Option C
Related Questions on Introduction to C plus plus
What does the 'cin' object in C++ represent?
A. File output stream
B. File input stream
C. Standard output stream
D. Standard input stream

Join The Discussion