Describe the main characteristics of static functions?
Answer / 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 |
What does new in c++ do?
Can I learn c++ without knowing c?
What relational operators if statements in c++?
Why struct is used in c++?
what are the decision making statements in C++? Explain if statement with an example?
Explain the term memory alignment?
What is rvalue?
How we can differentiate between a pre and post increment operators during overloading?
Which function should be used to free the memory allocated by calloc()?
Define a constructor - what it is and how it might be called (2 methods)?
How can a struct in c++ differs from a struct in c?
What is the fastest c++ compiler?