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...
All versions of Windows contain a text editing program named ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
Which of the following events should be used to cause a method to execute when the letter ‘X’ is typed?
a. Let the mouse move the camera b. When a key is typed c. When the mouse is clicked on something d. When the world starts e. None of these
Computer Science & Information Technology