int x[] = { 1, 4, 8, 5, 1, 4 }; int *ptr, y; ptr = x + 4; y = ptr - x; What is the value of y in the sample code given above?
Reveal answer
Fill a bubble to check yourself
int x[] = { 1, 4, 8, 5, 1, 4 }; int *ptr, y; ptr = x + 4; y = ptr - x; What is the value of y in the sample code given above?