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.

b. A nonconstant pointer to constant data.

Computer Science & Information Technology

You might also like to view...

If you are printing on a networked printer, your print job is sent to a print ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Use the ________ feature to indicate that information in a document is confidential

A) Watermark B) Rule C) Comment D) Delimiter

Computer Science & Information Technology