Solved

A Function That Prints a String by Using Pointer Arithmetic

Question 21

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions