Sail E0 Webinar
Question

Which operator is used to create the user-defined streams in c++?


Options:
A .  >>
C .  &
D .  Both a & b
Answer: Option D

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.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers