Respuesta :

A argument should be a nonconstant pointer to constant data in a function that prints a string using pointer arithmetic, such as ++ptr, to output each character.

What serves as a pointer arithmetic?

  • The programmer only needs to add and subtract the necessary number of elements, rather than the actual offset in bytes, when using pointer arithmetic to deal with various kinds.
  • A argument should be a nonconstant pointer to constant data in a function that prints a string using pointer arithmetic, such as ++ptr, to output each character.
  • The C++ programming language enables you to add or subtract integers from pointers. If ptr points to an integer, then the address of the following integer in memory is found at ptr + 1. The address of the preceding integer prior to ptr is given by ptr - 1.    

To learn more about Pointer arithmetic refer to:

https://brainly.com/question/15561028

#SPJ1