Self-Review Exercises

  1. 7.1 (Fill in the Blanks) Answer each of the following:

    1. Lists and tables of values can be stored in            or           .

    2. An array’s elements are related by the fact that they have the same            and           .

    3. The number used to refer to a particular element of an array is called its           .

    4. A(n)            should be used to declare the size of an array, because it eliminates magic numbers.

    5. The process of placing the elements of an array in order is called            the array.

    6. The process of determining if an array contains a particular key value is called            the array.

    7. An array that uses two subscripts is referred to as a(n)            array.

  2. 7.2 (True or False) State whether the following ...

Get C++ How to Program, 10/e now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.