Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

My 2 Cents Scope Resolution Operator

Discussion in 'General Programming Discussions' started by Swati Mishra, Mar 15, 2016.

  1. Swati Mishra

    Yellow Belt

    Joined:
    Dec 28, 2015
    Messages:
    644
    Ratings:
    +105 / -0
    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.
    Syntax

    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.
     

Share This Page