Discussion Forum : Classes
Question - Which operator is used to create the user-defined streams in c++?
Options:
A .  >>
B .  &
C .  Both a & b
Answer: Option C


We can make user-defined types with streams by overloading the insertion operator () to read objects from streams.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

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