syntax of operator overloading in c++ code example Example: overload the >> operator in c++ istream &operator>>( istream &input, Class_Name &c )