Explain the static member function in C++

Trainee Asked on August 15, 2019 in C++ Language.
Add Comment
1 Answer(s)

A static member function can be invoked using the class name as it exits before class objects comes into existence. It can access only static members of the class.

Supporter Answered on August 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.