If there are fewer initializers in an initializer list than


Question: State whether the following are true or false. If the answer is false, explain why.

a) An array can store many different types of values.

b) An array subscript can be of data type double.

c) If there are fewer initializers in an initializer list than the number of elements in the array, C automatically initializes the remaining elements to the last value in the list of initializers.

d) It's an error if an initializer list contains more initializers than there are elements in the array.

e) An individual array element that's passed to a function as an argument of the form a[i] and modified in the called function will contain the modified value in the calling function.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: If there are fewer initializers in an initializer list than
Reference No:- TGS02404080

Now Priced at $15 (50% Discount)

Recommended (98%)

Rated (4.3/5)