In C, given the array `int arr[5] = {1, 2, 3, 4, 5};` and a pointer `int *ptr = arr;`, which statement correctly points `ptr` to the last element of `arr`?
In C, given the array `int arr[5] = {1, 2, 3, 4,…
Written by
in
Written by
in
In C, given the array `int arr[5] = {1, 2, 3, 4, 5};` and a pointer `int *ptr = arr;`, which statement correctly points `ptr` to the last element of `arr`?
Leave a Reply