Which of the following gives the memory address of the first element in array?

a) array[0];
b) array[1];
c) array(2);
d) array;

1 thought on “Which of the following gives the memory address of the first element in array?”

  1. d
    Explanation: To get the address of ith index of an array, we use following syntax (arr + i). So as we need address of first index we will use (arr + 0) equivalent to arr.

Leave a Comment