Q:

How do you access the static member of a class in c++?

0

How do you access the static member of a class?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

We can access static members in two ways, using the class name with help of resolution operator and with the class object.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C++ Interview Questions For Experienced

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Distinguish between shallow copy and deep copy in ... >>
<< What does the explicit keyword mean?...