Programming Languages C++ Objective
Mar 19, 2013

What is correct about the static data member of a class?

Choose the correct answer:
A) A static member function can access only static data members of a class.
B) A static data member is shared among all the object of the class.
C) A static data member can be accessed directly from main().
D) All of the above
Detailed Explanation

Option A and B is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback