Solved

DAY Is a Seven-Member One-Dimensional Array What Is the Subscripted Variable Name That Should Be Used

Question 6

Multiple Choice

DAY is a seven-member one-dimensional array.Its contents are shown as follows:
 Surday  Monday  Tuesday  Wedrasday  Thursday  Friday  Saturday \begin{array}{l}\begin{array} { | l | } \hline\text { Surday }\\\hline \text { Monday } \\\hline \text { Tuesday } \\\hline \text { Wedrasday } \\\hline \text { Thursday } \\\hline \text { Friday } \\\hline \text { Saturday } \\\hline\end{array}\end{array}
What is the subscripted variable name that should be used to refer to the location containing Tuesday?


A) 3
B) DAY(3)
C) DAY
D) both a and b

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions