Which of the following are true about static member function?
1. They can access non-static data members
2. They can call only other static member functions
3. They can access global functions and data
4. They can have this pointer
5. They cannot be declared as const or volatile
a. Only 2
b. Only 2,5
c. Only 2,3,4,5
d. Only 2 , 3 , 5
e. All of these
Submitted by: Administratord. Only 2 , 3 , 5
Submitted by:
Submitted by:
Read Online C++ Static Data Job Interview Questions And Answers
Top C++ Static Data Questions
☺ | What is local class in C++? |
☺ | Explain static type checking? |
☺ | Explain what are volatile variables? |
☺ | What is static class data? |
☺ | Explain dynamic type checking? |
Top C Plus Plus Language Categories
☺ | C++ Pointers & Functions Interview Questions. |
☺ | C++ Operator Overloading Interview Questions. |
☺ | C++ Exception Handling Interview Questions. |
☺ | C++ Virtual Functions Interview Questions. |
☺ | C++ Template Interview Questions. |