Given the following function:
int strange(int x, int y){if (x > y)return x + y;elsereturn x - y;
}what is the output of the following statement?cout << strange(4, 5) << endl;

A. -1
B. 1
C. 9
D. 20


Answer: A

Computer Science & Information Technology

You might also like to view...

Completely hiding formulas in a worksheet is a(n) ________-step process

Fill in the blank(s) with correct word

Computer Science & Information Technology

? ? Referring to the code shown in the figure above, which element specifies the fallback image?

A. video B. source C. param D. img

Computer Science & Information Technology

A mobile user reports that after receiving a new patch cable for their laptop, the laptop is unable to connect to the network. An administrator verifies that the port is configured correctly and the LAN drop is active. Which of the following is the MOST likely cause?

A. Crosstalk on the cable B. Duplex mismatch C. Speed mismatch D. Open pairs are present

Computer Science & Information Technology

____________________ (SSL) is an additional layer of software added between the application layer and the transport (TCP) layer that creates a secure connection between sender and receiver.?

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

Computer Science & Information Technology