When the design recommends static functions?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / aruna kumar samal
When you want to use the function inside the program , not
outside then dsign recomend to do so. This does not have a
this pointer.static function maynot be virtual.there will
not be same version of static and non static function.
| Is This Answer Correct ? | 0 Yes | 3 No |
What is std :: flush?
What is c++ vb?
What is the purpose of ios::basefield in the following statement?
What is data structure in c++?
when can we use copy constructor?
What is the use of pointer in c++ with example?
Are vectors passed by reference c++?
What is scope of a variable? (LOLZ)
What are virtual functions in c++?
What is a node class?
What is the difference between inline functions and macros?
What is data hiding c++?