What is the use of static functions?

Answer Posted / priya

static word meaning it cannot be changed.so when we use
static in the function it cannot be changed

Is This Answer Correct ?    6 Yes 73 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between method overloading and method overriding in c++?

760


What is the main purpose of c++?

766


Why is c++ called oops?

771


What is iterator in c++?

827


What is the need of a destructor?

845






What is the difference between C and CPP?

818


Tell me can a pure virtual function have an implementation?

755


Const char *p , char const *p What is the difference between the above two?

891


Does c++ vector allocate memory?

718


Is map thread safe c++?

841


How new/delete differs from malloc()/free?

819


What does the linker do?

780


Are c and c++ different?

711


What is the difference between a reference and a pointer?

804


You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

789