Solved

To Prevent Modification of Array Values Passed to a Function

Question 4

Multiple Choice

To prevent modification of array values passed to a function:


A) The array must be declared static in the function.
B) The array parameter can be preceded by the const qualifier.
C) A copy of the array must be made inside the function.
D) The array must be passed by reference.

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents