What is the use of static functions?

Answer Posted / dee

they are not associated with "this" pointer since it can be
called without object.they can acees only static varibales.

Is This Answer Correct ?    55 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an adaptor class in c++?

768


Write about c++ storage classes?

943


When should I use unitbuf flag?

765


What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)

772


Can static member variables be private?

815






How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

2042


How would you use the functions randomize() and random()?

812


What is a hash function c++?

742


Write a C++ Program to check whether a number is prime number or not?

839


What is the purpose of templates in c++?

747


When is the destructor called?

764


How the programmer of a class should decide whether to declare member function or a friend function?

851


describe private access specifiers?

830


What does iomanip mean in c++?

832


What are guid?

908