What is the output of the following code segment:

int a = 3, b = 4, c = 5;
if (a + 1 > c)
cout << a << c;
else if (b = = c – 1)
cout << a << b;
else if (a < c)
cout << b << c;
else
cout << b << a;
a) 43
b) 45
c) 34
d) 3445

c) 34

Computer Science & Information Technology

You might also like to view...

When using the police portable radio, you speak

a. in a normal voice horizontally across the face of the microphone. b. directly into the microphone of the transmitter. c. with the microphone of the transmitter facing away from the speaker. d. loudly into the microphone to ensure message is transmit-ted.

Computer Science & Information Technology

Which of the following allows a Windows 7 remote user to edit a file offline then automatically update the changes when back in the office?

A. Windows Defender B. Sync Center C. Windows Aero D. HomeGroup

Computer Science & Information Technology