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

Can a program run without main?

0 Answers  


What is meant by reference variable in C++?

1 Answers  


How would you find out if a linked-list is a cycle or not?

0 Answers  


What are the advantages of inheritance in c++?

0 Answers  


How can you specify a class in C++?

0 Answers  






Why do we use double in c++?

0 Answers  


structure that describe a hotel with name, address,rooms and number of rooms

2 Answers  


structure contains int, char, float how it behaves for big endian and little endian?

1 Answers   BITS,


When there is a global variable and local variable with the same name, how will you access the global variable?

0 Answers  


What is a stack? How it can be implemented?

0 Answers  


What is static function and static class?

4 Answers   HCL,


What is late binding c++?

0 Answers  


Categories