LIKE US ON FACE BOOK

PAGE 2 POINTER QUESTIONS

6.  What would be the equivalent pointer expression for referring the array element a[i][j][k][l]
A. ((((a+i)+j)+k)+l)B. *(*(*(*(a+i)+j)+k)+l)
C. (((a+i)+j)+k+l)D. ((a+i)+j+k+l)
Answer: Option B

7.  A pointer is
A. A keyword used to create variables
B. A variable that stores address of an instruction
C. A variable that stores address of other variable
D. All of the above
Answer: Option C

8.  The operator used to get value at address stored in a pointer variable is
A. *B. &
C. &&D. ||

Answer: Option A

FOR NEXT PAGE CLICK HERE PAGE 3

No comments:

Post a Comment