Theory | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Theory

Which of the following is false about static member functions? (1) Static member functions can access not static members of class. (2) Static member functions belong to class. (3) Static member functions cannot be called using class object. (4) Static member functions cannot be overloaded

16th Nov 2021, 11:29 AM
Abhishek
Abhishek - avatar
1 Answer
+ 2
(1) Static member functions can access not static members of class. A static member function can only access static data member src: https://www.tutorialspoint.com/cplusplus/cpp_static_members.htm
16th Nov 2021, 11:36 AM
Zura Papiashvili
Zura Papiashvili - avatar