Page 1 of 1

1.(5 points) State two issues with the following piece of code. vector v; for (auto i=0;i<100; ++i) v.push_back(i);

Posted: Sat May 14, 2022 8:12 pm
by answerhappygod
1 5 Points State Two Issues With The Following Piece Of Code Vector Int V For Auto I 0 I 100 I V Push Back I 1
1 5 Points State Two Issues With The Following Piece Of Code Vector Int V For Auto I 0 I 100 I V Push Back I 1 (10.27 KiB) Viewed 40 times
1.(5 points) State two issues with the following piece of code. vector<int> v; for (auto i=0;i<100; ++i) v.push_back(i); for(auto i=v.size(); i>=0; --i) cout << v;