Question: If the cities and zips arrays are parallel arrays, which of the following statements will display the city name associated with the zip code stored
If the cities and zips arrays are parallel arrays, which of the following statements will display the city name associated with the zip code stored in the zips[8] variable?
a. cout << cities[zips[8]] << endl;
b. cout << cities(zips[8]) << endl;
c. cout << cities[8] << endl;
d. cout << cities(8) << endl;
Step by Step Solution
3.46 Rating (162 Votes )
There are 3 Steps involved in it
c co... View full answer
Get step-by-step solutions from verified subject matter experts
