Consider the following declaration of an array in ‘C’ language:

int A[6] = {1, 2, 3, 5};

Which of the following statements is true?

1
Both A[2] and 2[A] represent the value 2.
2
Both A[2] and 2[A] represent the value 3
3
A[2] is the correct way to access an element of A, but 2[A] will give an error
4
The last two elements of the array A are 3 and 5

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation