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

How many different levels of pointers are there?

662


Explain the uses oof nested class?

631


Define namespace in c++?

656


What's the order in which the objects in an array are destructed?

865


Write syntax to define friend functions in C++.

608






What does new in c++ do?

580


Explain dangling pointer.

684


Is c++ a low level language?

519


What are the rules for naming an identifier?

567


What is an arraylist c++?

692


Differentiate between the manipulator and setf( ) function?

606


Which c++ compiler is best?

597


What are the advantages of c++ over c?

593


What is the difference between public and private data members?

673


Explain the uses of static class data?

607