This is one of my hw question and I can't find the answer from the textbook.
Question: A function that modifies an array by pointer arithmetic (e.g., ++ptr) to process every value should have a parameter that is?
a) a nonconstant pointer to nonconstant data
b) a nonconstant pointer to constant data
c) a constant pointer to nonconstant data
d) a constant pointer to constant data
My guess is either a or d but i'm not sure...any help plz!!