Question #328397

Which keyword or symbol is placed in a function prototype and definition to prevent the function from changing a passed array?


A. &

B. *

C. fixed

D. const


Expert's answer

The answer is D. The keyword cost is used in a function prototype to prevent changing a passed array.


LATEST TUTORIALS
APPROVED BY CLIENTS