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
1 months agoLeonor
2 days agoLuis
3 days agoKaty
7 days agoMargarett
2 months agoAnnice
7 days agoKeith
9 days agoJolanda
11 days agoMicheal
2 months agoEun
2 months agoLelia
11 days agoHollis
1 months agoSheridan
1 months agoMargret
2 months agoLavina
2 months agoDorinda
2 months agoTelma
3 months ago