Quiz


  1. In C programming, Arr[1] refers to which element of an array Arr.
  2. a. 1
    b. 2
    c. 3
    d. 0

  3. The first element of an array is referred to by which index
  4. a. 1
    b. 2
    c. 3
    d. 0

  5. The index of the last element of an array of size n elements is:
  6. a. n
    b. n-1
    c. n+1
    d. n-2

  7. The memory address of the first element of an array is called
  8. a. floor address
    b. foundation address
    c. first address
    d. base address

  9. The memory allocation for array elements is done
  10. a. contigously
    b. randomly

  11. If the memory address of the first element of an array is 2000, what is the memory address of the 6th emement
  12. a. 2020
    b. 2012
    c. 2006
    d. 2024

  13. In C programming, a string is actually a
  14. a. array of integers
    b. array of characters
    c. variable
    d. none of the above