what will this code do?
1 2 3 4 5 6 7 8 9 10
|
#include<iostream>
#include<string>
#include<vector>
int main()
{
vector<string> object;
for(int count=0;true;count++)
object.erase((object.begin())-count);
return 0;
}
|
Last edited on
This code tries to abort the program.:)