Let us say that ip is a pointer pointing to an item in an integer array. Which of the following expressions point to the valid items within the array? ip[-2] or ip? Why?© BrainMass Inc. brainmass.com June 20, 2018, 10:33 pm ad1c9bdddf
The index of an array must be non-negative integer. So:
ip[-2] is ...
Pointer to an array is investigated. The response was rated '5/5' by the student who posted the question originally.