What method should be used to pass an array to a function that does not modify the array and only looks at it using array subscript notation:
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
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
Q17: A function that prints a string by
Q18: The & operator can be applied to:
A)
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
Q23: A string array:
A) Stores an actual string
Q24: getline(superstring, 30); is equivalent to which of
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