Is the following program legal? If not, how might you fix it?
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:3| Question number:3.18
All Answers
total answers (1)
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:3| Question number:3.18
total answers (1)
Not legal. Use `
need an explanation for this answer? contact us directly to get an explanation for this answerivec.push_back(42);
` instead.