+ 1

What is Static Pointer?

21st Apr 2020, 8:23 PM
Nitesh Srivastava
Nitesh Srivastava - avatar
1 Resposta
0
In the simplest of terms: A static function is a member function of a class that can be called even when an object of the class is not initialized. A static function cannot access any variable of its class except for static variables. The 'this' pointer points to the object that invokes the function.
21st Apr 2020, 9:34 PM
Galstyan
Galstyan - avatar