Question: Which XXX and YYY best complete the code to return the minimum value in the array? int GetMinValue ( int arrayVals [ ] XXX )
Which XXX and YYY best complete the code to return the minimum value in the array?
int GetMinValue int arrayVals XXX
int i;
int minVal;
minVal arrayVals;
for i ; YYY; i
if arrayValsi minVal
minVal arrayValsi;
return minVal;
a
XXX: int size
YYY: i sizearrayVals
b
XXX: nothing
YYY: i arrayVals.arraySize
c
XXX: int numVals
YYY: i numVals
d
XXX: nothing
YYY: i
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
