Question: Choose the statement that does not apply to the following declaration: double [ , ] totalCostOfItems = {{109.95, 169.95, 1.50, 89.95}{27.9, 18.6, 26.8, 98.5}}; a.
Choose the statement that does not apply to the following declaration:
double [ , ] totalCostOfItems =
{{109.95, 169.95, 1.50, 89.95}{27.9, 18.6, 26.8, 98.5}};
a. declares a two-dimensional array of floating-point values
b. establishes the maximum number of rows as 4
c. sets the array element totalCostOfItems[0, 1] to 169.95
d. declares an area in memory where data of double type can be stored
e. all are correct
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
