Node:Questions for Chapter 14, Previous:Arrays as Parameters, Up:Arrays

Questions for Chapter 14

  1. Declare an array of type double, measuring 4 by 5 elements.
  2. How do you pass an array as a parameter?
  3. When an array parameter is received by a function, does C allocate space for a local variable and copy the whole array to the new location?
  4. What does it mean to say that one dimension of an array "varies fastest"?
  5. Which dimension of an array varies fastest, the first or the last?