What happens when you attempt to compile and run the following code?
#include
#include
int main ()
{
std::vector
for(int i = 10; i>0; i??)
{
v1.push_back(i);
}
std::vector
int sum = 0;
while(it != v1.end())
{
sum+=it++;
}
std::cout<<*v1.erase(v1.begin(),v1.end()?3)<<" "< return 0; }
Paris
2 months agoLeonor
4 days agoLuis
5 days agoKaty
9 days agoMargarett
2 months agoAnnice
9 days agoKeith
11 days agoJolanda
13 days agoMicheal
2 months agoEun
2 months agoLelia
13 days agoHollis
1 months agoSheridan
1 months agoMargret
2 months agoLavina
2 months agoDorinda
2 months agoTelma
3 months ago