Q.

Which of the following statements is correct for a static member function?
1. It can access only other static members of its class.
 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
Answer» C. both 1 and 2 are correct
3.7k
0
Do you find this helpful?
25

Discussion

No comments yet