Given the function prototype and variable declarations, which of the following is a valid function call?

void compute (int, float, char&, int& ); // function prototype

int x, y; //variable declarations
float p, q;
char r, s;

a) compute (x, 7.3, ā€˜cā€™, y);
b) compute (y, p, s, x + y);
c) compute (5, p + q, r, y);
d) compute (x , s, r, 8);

c) compute (5, p + q, r, y);

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT part of the Media Controls bar?

A) Move Back 0.25 Seconds B) Edit Video C) Mute/Unmute D) Play/Pause

Computer Science & Information Technology

The ___ compares adjacent items and exchanges them if they are out of order.

a. selection sort b. binary search c. bubble sort d. quicksort

Computer Science & Information Technology