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

What is guard code in c++?

926


Why ctype h is used in c++?

730


What is the use of cmath in c++?

810


What is the use of turbo c++?

788


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

841


What are 2 ways of exporting a function from a dll?

888


If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

1269


Name the implicit member functions of a class.

861


Can you please explain the difference between static and dynamic binding of functions?

790


What is constant in c++ with example?

873


What is c++ & why it is used?

836


What is the type of this pointer in c++?

841


which operator is used for performing an exponential operation a) > b) ^ c) none

830


What is a constructor in c++ with example?

835


Explain the difference between new() and malloc() in c++?

877