When the design recommends static functions?

Answers were Sorted based on User's Feedback



When the design recommends static functions?..

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

When the design recommends static functions?..

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

Post New Answer

More C++ General Interview Questions

What's the hardest coding language?

0 Answers  


Which operator cannot overload?

0 Answers  


What are c++ templates used for?

0 Answers  


What is meant by iomanip in c++?

0 Answers  


What is size of null class?

6 Answers   HP,






Mention the purpose of istream class?

0 Answers  


Why c++ is the best language?

0 Answers  


What is a constructor initializer list and when we use constructor initializer list?

3 Answers   Soft Info, TCS,


Differentiate between late binding and early binding.

0 Answers  


Where can I run c++ program?

0 Answers  


Difference between overloaded functions and overridden functions

0 Answers  


Which software is best for coding?

0 Answers  


Categories