Describe the main characteristics of static functions?

Answer Posted / atul shankhwar

The main characteristics of static functions include,

 It is without the a this pointer,
 It can't directly access the non-static members of its class
 It can't be declared const, volatile or virtual.
 It doesn't need to be invoked through an object of its class, although for convenience, it may.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain storage qualifiers in c++.

708


Is java a c++?

656


Is c++ platform dependent?

727


What does ctime() do?

691


How will you call C functions from C ++ and vice-versa?

750






C is to C++ as 1 is to a) What the heck b) 2 c) 10

743


Differentiate between a pointer and a reference with respect to c++.

795


How many namespaces are there in c++?

642


Describe exception handling concept with an example?

643


Explain the problem with overriding functions

681


How can you quickly find the number of elements stored in a static array?

729


Why is c++ called oops?

650


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

719


Is it possible for a member function to use delete this?

654


an integer constant must have atleast one a) character b) digit c) decimal point

641