What is the use of static functions?

Answer Posted / sanish joseph

If we r using Static functions all the objects will get only
a single copy of dat function,means der wil b only one copy
of dat function.
static functions will contain only static variables.

Is This Answer Correct ?    17 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define macro.

827


what is VOID?

828


Differentiate between realloc() and free().

775


what are the types of Member Functions?

881


What relational operators if statements in c++?

894


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

756


Is main a class in c++?

757


What is a literal in c++?

762


Why do we use pointers in c++?

778


What is a character in c++?

770


How a macro differs from a template?

877


Is c++ a pure oop language?

819


What is the use of "new" operator?

890


What does it mean to declare a member function as virtual?

800


When to use “const” reference arguments in a function?

813