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.
d. The array must be passed by reference.
Computer Science & Information Technology
You might also like to view...
Which of the following generates a syntax error?
a) c *= 3; b) c %= 2; c) c /= 4; d) None of the above.
Computer Science & Information Technology
What are the most common factors that allow successful injection to take place?
What will be an ideal response?
Computer Science & Information Technology