which of the following is not true for static member function ?

  1. A static member function can access only static member data, static member functions and data and functions outside the class.

  2. A static member function can be called, even when a class is not instantiated

  3. A static member function cannot be declared virtual

  4. A static member function can have access to the 'this' pointer of the class


Correct Option: D

Find more quizzes: