What are the static members and static member functions?



What are the static members and static member functions?..

Answer / hrpynux@gmail.com

A static member function can only access static data member, other static member functions and any other functions from outside the class. Static member functions have a class scope and they do not have access to the this pointer of the class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is fixed in c++?

0 Answers  


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

0 Answers   Nucleus, TCS,


Where and why do I have to put the "template" and "typename" keywords?

0 Answers  


write a c++ program that gives output 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 using looping statement

2 Answers  


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

0 Answers  






const char * char * const What is the differnce between the above two?

11 Answers   TCS,


Why was c++ made?

0 Answers  


What is an operator in c++?

0 Answers  


What are c++ data types?

0 Answers  


What is static in c++?

0 Answers  


an operation between an integer and real always yeilds a) integer result b) real result c) float result

0 Answers  


What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same

3 Answers   CTS,


Categories