Discuss a pointer pointing to an item in an integer array


Discuss the below:

Q: 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[2]? Why?

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Discuss a pointer pointing to an item in an integer array
Reference No:- TGS01937827

Now Priced at $20 (50% Discount)

Recommended (95%)

Rated (4.7/5)