What happens when you attempt to compile and run the following code?
#include
#include
#include
using namespace std;
int main(){
int second[] ={ 3, 4, 2, 1, 6, 5, 7, 9, 8, 10 };
string first[] = {"three", "four", "two", "one", "six","five", "seven", "nine","eight"," ten"};
map
for(int i=0; i<10; i++) {
m.insert(pair
}
if (m[11] == "eleven") {
cout<<"eleven ";
}
for(map
cout<second<<" ";
}
cout< return 0; }
Louis
2 days agoOdette
7 days agoRoy
12 days agoLilli
18 days agoAzalee
23 days agoAlise
28 days agoRebecka
2 months agoAlishia
2 months agoDona
2 months agoAfton
2 months agoHyman
2 months agoMarguerita
2 months agoLavonna
3 months agoEden
3 months agoViva
3 months agoAlica
3 months agoWendell
3 months agoCarmela
3 months agoIvan
4 months agoBritt
4 months agoMargot
4 months agoJerry
4 months agoPaola
4 months agoTonja
5 months agoTeddy
5 months ago