To refer to a particular location or element within an


Question: State which of the following are true and which are false. If false, explain why.

a) To refer to a particular location or element within an array, we specify the name of the array and the value of the particular element.

b) An array definition reserves space for the array.

c) To indicate that 100 locations should be reserved for integer array p, write p
[ 100 ];

d) A C program that initializes the elements of a 15-element array to zero must contain one for statement.

e) A C program that totals the elements of a double-subscripted array must contain nested for statements.

f) The mean, median and mode of the following set of values are 5, 6 and 7, respectively: 1, 2, 5, 6, 7, 7, 7.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: To refer to a particular location or element within an
Reference No:- TGS02404071

Now Priced at $15 (50% Discount)

Recommended (99%)

Rated (4.3/5)