1.

What are the main characteristics of Static Functions:

Answer»

The main characteristics of static functions are as follows:

  • It is without the a “this” POINTER. This is because it has no object address and HENCE “this” pointer is not passed as an internal parameter to the same. Also it can can be invoked even before creation of OBJECTS USING scope resolution operator.
  • It can't directly access the non-static members of its class.
  • It can't be declared const, volatile or virtual.
  • It doesn't need to be invoked through an object of its class, although for convenience, it may.


Discussion

No Comment Found