0
1.2kviews
Find the output of the following code:
written 8.3 years ago by | modified 2.8 years ago by |
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");
}
ADD COMMENT
EDIT
1 Answer