cs509:cpluscplusfunctionreturn_i
See the following code:
int myfunction( int myinput ) {
if ( myinput > 0 )
return 1;
else if ( myinput == 0 )
return 0;
else
return -1;
}
<poll How many values will be returned by the above function? [a]>
- 1
- 2
- 3
- Up to 3
</poll>
cs509/cpluscplusfunctionreturn_i.txt · Last modified: by jchung
