LOOK THE FOLLOWING CODE:
void main()
{
char a[]={'a','b','c',d'};
int b[]={1,2,3,4,5};
printf("%d %d",&a[3]-a,&b[3]-b};
}
OUTPUT:
3 3
CAN SOMEBODY EXPLAIN ME WHY THE OUTPUT IS SAME.
ACCORDING TO ME OUTPUT IS (3 6).