What would happen in the previous exercise if the return type of move, set, and display was Screen rather than Screen&
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:7| Question number:28
All Answers
total answers (1)

C++ programming
If then, every time we call
`move`,`set`or`display`, the function will return a new`Screen`object that is the copy of the original`Screen`object with the changes we made, while the original`Screen`object keeps unchanged.
need an explanation for this answer? contact us directly to get an explanation for this answer