My 2 Cents Scope Resolution Operator

Swati Mishra

Content Writer
We have defined the member functions and the constructors of program with in the class. These functions can also be defined outside the boundary of class by using the scope resolution operator :):) to make the program more readable.

Void calculator:: input ()

In the above statement the scope resolution operator :):) informs the computer that the function input () is a member of the calculator class.