Using the following function prototype which statement about the argument passed
ID: 3556729 • Letter: U
Question
Using the following function prototype which statement about the argument passed to parameter A is true.
void F(const int A[ ], int Cnt);
a. The argument passed to parameter A must always have the same number of elements, every time function F is invoked
b. Changes can not be made to parameter A in function F.
c. Every element of the argument passed to parameter A must be initialized prior to invoking function F
d. The argument is modified when changes are made to parameter A in function F
a. The argument passed to parameter A must always have the same number of elements, every time function F is invoked
b. Changes can not be made to parameter A in function F.
c. Every element of the argument passed to parameter A must be initialized prior to invoking function F
d. The argument is modified when changes are made to parameter A in function F
Explanation / Answer
a. The argument passed to parameter A must always have the same number of elements, every time function F is invoked
b. Changes can not be made to parameter A in function F.
c. Every element of the argument passed to parameter A must be initialized prior to invoking function F
d. The argument is modified when changes are made to parameter A in function F
a. The argument passed to parameter A must always have the same number of elements, every time function F is invoked
b. Changes can not be made to parameter A in function F.
c. Every element of the argument passed to parameter A must be initialized prior to invoking function F
d. The argument is modified when changes are made to parameter A in function F
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.