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 kind of projects are suitable for c and c++

631


What operators can you overload in c++?

596


What is the best c c++ compiler for windows?

567


Why is swift so fast?

624


What is abstract keyword in c++?

593






the maximum length of a character constant can be a) 2 b) 1 c) 8

602


What is data structure in c++?

663


How do you remove an element from a set in c++?

582


Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300”,”BullCart : 10”) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side

3047


What is encapsulation in c++ with example?

586


Describe new operator?

622


What is object oriented programming (oop)?

625


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

641


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

858


How to allocate memory dynamically for a reference?

544