When the design recommends static functions?
Answer Posted / manu
The design reccommends static functions when you need to
call the function even when the class is not instantiated.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are shallow and deep copy?
What is the difference between containment and delegation?
Explain the differences between private, public and protected and give examples.
Why are pointers used?
What is the difference between *p++ and (*p)++ ?
What is capacity in vector in c++?
Why c++ is the best language?
What is a stack? How it can be implemented?
Differentiate between a copy constructor and an overloaded assignment operator.
What is an accessor in c++?
Can we use this pointer in a class specific, operator-overloading function for new operator?
What does ctime() do?
What is the difference between global int and static int declaration?
How would perform Pattern Matching in C++?
Which format specifier is used for printing a pointer value?