Question: A program contains a seven-element array that holds the names of the days of the week. At the start of the program, you display the

A program contains a seven-element array that holds the names of the days of the week. At the start of the program, you display the day names using a subscript named dayNum. You display the same array values again at the end of the program, where you ________ as a subscript to the array.

a. Must use dayNum

b. Can use dayNum, but can also use another numeric value

c. Must not use dayNum

d. Must use a numeric constant instead of a variable

Step by Step Solution

3.36 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

b Can use d... 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 Programming Logic & Design Questions!