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 months agoOdette
2 months agoRoy
2 months agoLilli
2 months agoAzalee
2 months agoAlise
3 months agoRebecka
3 months agoAlishia
3 months agoDona
4 months agoAfton
4 months agoHyman
4 months agoMarguerita
4 months agoLavonna
4 months agoEden
4 months agoViva
5 months agoAlica
5 months agoWendell
5 months agoCarmela
5 months agoIvan
5 months agoBritt
5 months agoMargot
6 months agoJerry
6 months agoPaola
6 months agoTonja
6 months agoTeddy
7 months agoCharlesetta
27 days agoBernadine
1 month agoCristy
1 month agoLucy
1 month agoLenny
2 months ago