Format of a Member Function

 

return_type class_name : : function_name (argument list)

{

   function body

}

 

Member functions defined in the implementation section have the same format as all user-written C++ functions with the addition of the class name and scope operator, : :, which identifies the function as a member of a particular class.