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
15 days agoLuis
16 days agoKaty
20 days agoMargarett
2 months agoAnnice
20 days agoKeith
22 days agoJolanda
24 days agoMicheal
2 months agoEun
2 months agoLelia
24 days agoHollis
2 months agoSheridan
2 months agoMargret
2 months agoLavina
3 months agoDorinda
3 months agoTelma
3 months ago