0
1.2kviews
Find the output of the following code:

include <stdio.h>

int main() {
    int a[ ] = {10,20,30,40,50};
int *j, *k;
j = &a[4];
k = (a+4);
if(j==k)
printf("Both pointers points to same location");
else
printf("Both pointers does not point to same location");
}
1 Answer
0
6views

Output:

Both pointers points to same location.

Please log in to add an answer.