1. 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;
1. State two issues with the following piece of code. vector v; for (auto i=0;i<100;++i) v.push_back(i); for(auto i
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. State two issues with the following piece of code. vector v; for (auto i=0;i<100;++i) v.push_back(i); for(auto i
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!