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

1 Expert Approved Answer
Step: 1 Unlock

c co... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Microsoft Visual C# Introduction Questions!