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. (Solved)

1. Only 1 is correct.

2. Only 2 is correct.

3. Both 1 and 2 are correct.

4. Both 1 and 2 are incorrect.

  • c. Both 1 and 2 are correct.
Subscribe Now

Get All Updates & News