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
What are the advantages of c++? Explain
What is the size of a vector?
Which bit wise operator is suitable for turning off a particular bit in a number?
Explain terminate() and unexpected() function?
Why c++ is faster than java?
What is the role of C++ shorthand's?
What are the rules about using an underscore in a c++ identifier?
What are activex and ole?
What is c++ similar to?
Difference between pass by value and pass by reference?
How do you save a c++ program?
explain the reference variable in c++?
Explain the purpose of the keyword volatile.
What are the uses of static class data?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?