struct type addressBook has a component people which is an array of elements of struct type person. person has a component phoneNumbers which is an array. What is the correct reference for the second phone number of the second person in myFriends (type addressBook)?

a) myFriends.person[1].phoneNumber[1]
b) myFriends.person.phoneNumber[1]
c) addressBook.people[1].phoneNumber[1]
d) myFriends.people[1].phoneNumber[1]

d) myFriends.people[1].phoneNumber[1]

Computer Science & Information Technology

You might also like to view...

When you know how many times a loop will execute in advance, a ________loop should be used.

a) sentinel b) infinite c) counter-controlled d) None of the above.

Computer Science & Information Technology

The command to print a file on a specific printer is

a: lp -d filename b: lp filename printer-name c: lp -d printer-name filename d: print filename ptr1 e: p -d printer-name filename

Computer Science & Information Technology