Describe the main characteristics of static functions?



Describe the main characteristics of static functions?..

Answer / 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

More C++ General Interview Questions

In the derived class, which data member of the base class are visible?

0 Answers  


When is a template better solution than a base class??

2 Answers   emc2,


Can manipulators fall in love?

0 Answers  


What does std :: flush do?

0 Answers  


Define upcasting.

0 Answers  






If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

0 Answers  


What is buffer and example?

0 Answers  


What character terminates all character array strings a) b) . c) END

0 Answers  


Do class declarations end with a semicolon? Do class method definitions?

0 Answers  


Write a code/algo to find the frequency of each element in an array?

0 Answers   Axtria,


When to use “const” reference arguments in a function?

0 Answers  


What are the 2 main types of data structures?

0 Answers  


Categories