0
1.1kviews
Find the output of the following code:
written 7.7 years ago by | modified 2.2 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