C++ Private Member Function & Nested Functions

You have learnt about member functions earlier. We now expand the idea and talk about private member function and nesting of function in C++. A function declared inside the class’s private section is known as the “private member function”. A private member function is accessible through the only public member function. Data Members Data members … Read more