Exercises
E.6 Fill in the blanks in each of the following statements:
a) One-dimensional array p contains four elements. The names of those elements are _____________, _____________, _____________ and _____________.
b) Naming an array, stating its type and specifying the number of dimensions in the array is called _________ the array.
c) In a two-dimensional array, the first index identifies the _________ of an element and the second index identifies the _________ of an element.
d) An m-by-n array contains _________ rows, _________ columns and _________ elements.
e) The name of the element in row 3 and column 5 of array d is _________.
E.7 Determine whether each of the following is true or false. If false, explain why.
a) To refer to a particular ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access