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 a null object in c++?

871


What are formatting flags in ios class?

878


Why c++ is the best language?

837


What is function overloading in C++?

1125


What is abstract class in c++?

820


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

870


What is an overflow error?

871


Explain the benefits of proper inheritance.

901


Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

894


Is c++ pass by reference or value?

818


What do nonglobal variables default to a) auto b) register c) static

945


Why null pointer is used?

809


Why is c++ still popular?

820


Is java a c++?

795


What is atoi in c++?

852