What happens when you attempt to compile and run the following code?
#include
#include
#include
#include
using namespace std;
int main(){
int second[] ={ 3, 4, 2, 1, 6, 5, 7, 9, 8, 0 };
string first[] = {"three", "four", "two", "one", "six","five", "seven", "nine","eight","zero"};
map
for(int i=0; i<10; i++) {
m.insert(pair
}
m[0]="ten";
m.insert(pair
for(map
cout<second<<" ";
}
return 0;
}
Gretchen
1 months agoBette
1 months agoStefanie
1 months agoPok
2 months agoCecily
4 days agoCecily
1 months agoCecily
1 months agoAnnelle
2 months agoBarney
2 months agoAnnelle
2 months agoMarquetta
2 months agoSharen
15 days agoKatlyn
18 days agoAzzie
19 days agoVivan
20 days agoDewitt
24 days agoLemuel
1 months agoEmerson
1 months agoJamal
1 months ago