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
Q12: Which of the following is not a
Q13: Pointers cannot be used to:
A) Contain memory
Q14: Given a built-in array of ints named
Q15: Which statement would be used to declare
Q16: Which of the following gives the number
Q18: The & operator can be applied to:
A)
Q19: What method should be used to pass
Q20: Pointers may be assigned which of the
Q21: Consider the following function: void reverse(char *string1,
Q22: Given that k is an integer array
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents