What are the static members and static member functions?
Answer Posted / 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 View All Answers
How do I run c++?
What is virtual function? Explain with an example
What does ios :: app do in c++?
Why is c++ so fast?
How do c++ struct differs from the c++ class?
What is the extraction operator and what does it do?
What is the difference between passing by reference and passing a reference?
How does c++ sort work?
Explain how an exception handler is defined and invoked in a Program.
By using c++ with an example describe linked list?
What parameter does the constructor to an ofstream object take?
Is the declaration of a class its interface or its implementation?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
Why is c++ called oops?
What is the size of a vector?