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