Skip to main content

Member Function’s Definition Outside Class


Member function’s definition outside Class

In this part you will learn: 1. Why we need to define function outside class 2. Syntax 3. Scope resolution operator 4. Program Defining Member function outside Class Till now, we have written many programs using class in the previous topic. In those classes, we had member functions too. Those member functions were defined right there because of their small size. But think about a huge project, with hundreds of member functions of a single class. Moreover the member functions we have defined are small ones, in real programming the size of a

Add new comment