Teaching Rajasthan Basic Computer Instructor 2021 Mock Test Programming and Data Structure Programming in C
Given the piece of code
int a [50];
int *pa;
pa = a;
To access the 6th element of the array which of the following is incorrect?
1
*(a + 5)
2
a[5]
3
pa[5]
4
*(*pa + 5)