Computer Science, asked by jituverma0607, 10 months ago

Which of the operator is overloaded for object cout ?​

Answers

Answered by Anonymous
1

Explanation:

To get cout to accept a Date object after the insertion operator, overload the insertion operator to recognize an ostream object on the left and a Date on the right. The overloaded << operator function must then be declared as a friend of class Date so it can access the private data within a Date object.

Answered by simran340551786
0

Answer:

Insertion operator to recognize an ostream object on the left and a date on right

Similar questions