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