0
1.4kviews
Find the output of the following code:
| written 9.3 years ago by | modified 3.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

and 2 others joined a min ago.
and 2 others joined a min ago.