Given the following function prototype:
?
int myFunc(int, int);
?
which of the following statements is valid? Assume that all variables are properly declared.

A. cin >> myFunc(y);
B. cout << myFunc(myFunc(7, 8), 15);
C. cin >> myFunc('2', '3');
D. cout << myFunc(myFunc(7), 15);

Answer: B

Computer Science & Information Technology

You might also like to view...

Realistic ramifications and weights should be assigned to all events and potential ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Real-time data transfer occurs between the primary and the ________ backup site, which means that the site must be contracted continuously or that the company must own both the sites

Fill in the blank(s) with correct word

Computer Science & Information Technology