Some questions on arrays

  1. What is the highest legal index for the following arrays?
    1. int arr1[4];
    2. double means[12];

  2. Which of the following identifiers are declared as arrays?
    1. int i, j[4], k;
    2. float r[3],s[2],t,u[7];

Answers to these questions


Back to notes on arrays