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; }
Rebecka
1 day agoAlishia
7 days agoDona
12 days agoAfton
17 days agoHyman
22 days agoMarguerita
27 days agoLavonna
1 month agoEden
1 month agoViva
1 month agoAlica
2 months agoWendell
2 months agoCarmela
2 months agoIvan
2 months agoBritt
2 months agoMargot
2 months agoJerry
3 months agoPaola
3 months agoTonja
3 months agoTeddy
3 months ago