1.

Which operator is used to create the user-defined streams in c++?(a) >>(b) &

Answer»

Correct OPTION is (d) Both >> & <<

Explanation: We can make user-defined types with STREAMS by OVERLOADING the insertion operator (<<) to put OBJECTS into streams and the extraction operator (>>) to read objects from streams.



Discussion

No Comment Found

Related InterviewSolutions