6. (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: Sun May 15, 2022 10:23 am
Language is C++
6. (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;
6. (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;