Posts

Showing posts from August, 2020

Member Functions in C++

Image
Member Functions in C++ One of the most important concept is OOP in C++ and other programming langauages. When it comes to member function it is important to know three things about class. The first thing is data member the second thing is member function and the third thing is access specifiers. There are two types of member functions or member methods. The first type is non-static function which is also known as non-static method and the second type is static function whic is also known as static method. Example void display(){} // This is non-static function static void display(){} // This is static function Reference To Learn More https://www.info999.gq/2020/07/Constructor-C.html https://www.info999.gq/2020/07/how-to-use-class-and-object-in-c.html https://www.studytonight.com/cpp/member-functions-cpp.php