Contrast the following program with the one in the previous exercise
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:11| Question number:25
All Answers
total answers (1)
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:11| Question number:25
total answers (1)
The code will cause error. Because the subscript operator accesses element that not existed, the behaviour is undefined.
need an explanation for this answer? contact us directly to get an explanation for this answer