Multiple Choice
A function that prints a string by using pointer arithmetic such as ++ptr to output each character 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:

Verified
Correct Answer:
Verified
Q16: Consider the following function: void reverse(char *string1,
Q17: Which of the following gives the number
Q18: getline(superstring, 30); is equivalent to which of
Q19: Given a built-in array of ints named
Q20: Which of the following is not a
Q22: Three of the following expressions have the
Q23: Which statement would be used to declare
Q24: Pointers cannot be used to:<br>A) Contain memory
Q25: To prevent modification of a built-in array's
Q26: A string array is commonly used for:<br>A)