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