Describe the main characteristics of static functions?
Answer Posted / atul shankhwar
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.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why can templates only be implemented in the header file?
Can you please explain the difference between using macro and inline functions?
what are the types of Member Functions?
Difference between overloading vs. Overriding
Does c++ vector allocate memory?
Can c++ be faster than c?
How does a copy constructor differs from an overloaded assignment operator?
How to implement is-a and has-a class relationships?
What are the two shift operators and what are their functions?
Can a constructor return a value?
Define a pdb file.
what is multi-threading in C++?
Why do we need pointers?
What is the use of main function in c++?
What is the size of integer variable?