O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

8.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’s variable, 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 jagged array d is ________.

8.7 Determine whether each of the following is true or false. If false, explain why.

a) To refer to a particular location ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required