A

Admin • 833K Points
Coach

Q. Which of the following statements are correct for a static member function? 1. It can access only other static members of its class. 2. It can be called using the class name, instead of objects.

  • (A) Only 1 is correct.
  • (B) Only 2 is correct.
  • (C) Both 1 and 2 are correct.
  • (D) Both 1 and 2 are incorrect.
  • Correct Answer - Option(C)
  • Views: 11
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.