Quiz on Arrays

Check your understanding of arrays by completing this quiz.

We'll cover the following...
Technical Quiz
1.

Which of the following statements is TRUE about the code snippet given below?

int arr[ ] = { 23, 34, 45, 56, 67 } ;
arr++ ;
A.

Every element of the array would get incremented by 1

B.

arr would start pointing to 34

C.

arr acts as a constant pointer to the 0th0^{th} element and hence cannot be changed through ++

D.

Instead of arr++, arr+=1 should be used


1 / 5