Hi, can anybody help me with this program output.
Program is based on GCC compiler standards
#include<stdio.h>
main()
{
int *ptr=10,j;
j=ptr+19;
printf("ptr=%d\n",ptr);
printf("j=%d\n",j);
}
output: ptr=10
j=86
when ptr value is 10 in statement "j=ptr+19", why the j value is 86??