If the cities and zips arrays are parallel arrays, which of the following statements will display the
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 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;
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Microsoft Visual C# An Introduction to Object-Oriented Programming
ISBN: 978-1337102100
7th edition
Authors: Joyce Farrell
Question Posted: