Movie Flashcards

1
Q

friend ostream& operator«(ostream&, const Movie&);

A

ostream& operator«(ostream& ost, const Movie& m){
ost«“Title: “«m.title«”, Price: “«m.price«endl;
return ost;
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly