Consider the following declaration: class strange { . . . }; Write a statement that shows the declaration in the class strange to overload the operator >>. Write a statement that shows the declaration in the class strange to overload the operator

Answer :

Answer:

overload the operator   >>

friend std::istream& operator>>(std::istream &inStream, strange &s);

Explanation:

Other Questions