Solved

A Function That Modifies an Array by Using Pointer Arithmetic

Question 3

Multiple Choice

A function that modifies an array by using pointer arithmetic such as ++ptr to process every value of the array 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.

Correct Answer:

verifed

Verified

Related Questions