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
3 months agoBette
3 months agoShawnda
2 months agoLindsey
2 months agoTricia
2 months agoStefanie
3 months agoPok
4 months agoCecily
2 months agoCecily
3 months agoCecily
3 months agoAnnelle
4 months agoBarney
4 months agoAnnelle
4 months agoMarquetta
4 months agoSharen
3 months agoKatlyn
3 months agoAzzie
3 months agoVivan
3 months agoDewitt
3 months agoLemuel
3 months agoEmerson
3 months agoJamal
3 months ago