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

A. cin >> tryMe(x);
B. cout << tryMe(2.0, 3.0);
C. cout << tryMe(tryMe(double, double), double);
D. cout << tryMe(tryMe(float, float), float);

Answer: B

Computer Science & Information Technology

You might also like to view...

_________ is a form of auditing that focuses on the security of an organization’s IT assets.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The type of number that cannot be expressed as a fraction because the fractional part would go on for infinity without ever repeating a sequence is:

a. Floating point b. Rational c. Real d. Irrational

Computer Science & Information Technology