In the program onpage 354 would it be legal to write the call to insert as follows? If not, why not
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:9| Question number:32
All Answers
total answers (1)
It is not legal. The order of evaluation of the arguments in function
need an explanation for this answer? contact us directly to get an explanation for this answer`insert`
is undefined, so that if the second argument is evalated first, then the program logic will be wrong.