In C, given the array `int arr[5] = {1, 2, 3, 4,…

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`?

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

More posts