Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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;

Answer: 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.

Join The Discussion