1.

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» D. both 1 and 2 are incorrect


Discussion

No Comment Found

Related MCQs