Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

Describe the main characteristics of static functions.

  Shared By: Adah Miller    Date: Jan 25    Category: C++ Programming    Views: 188

Answer:

The main characteristics of static functions include,
-> It is without the a this pointer,
-> 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.

Share: 
 

Didn't find what you were looking for? Find more on Describe the main characteristics of static functions. Or get search suggestion and latest updates.


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: