What is the output after the following code executes?

```
int numerator = 5;
int denominator = 25;
int temp = 0;
temp = numerator;
numerator = denominator;
denominator = temp;
cout << numerator << "/" << denominator << " = " <<
(numerator/denominator) << endl;
```

a. 5/25 = numerator/denominator
b. 5/25 = 0
c. 5/25 = 0.2
d. 25/5 = 5
e. 25/5 = 25/5


d. 25/5 = 5

Computer Science & Information Technology

You might also like to view...

If you want to share information from a Linux machine to a Windows machine, you use ____.

A. NIS B. DHCP C. RPC D. Samba

Computer Science & Information Technology

Suppose that alpha and beta are int variables and alpha = 5 and beta = 10. After the statement alpha *= beta; executes, ____.

A. alpha = 5 B. alpha = 10 C. alpha = 50 D. alpha = 50.0

Computer Science & Information Technology

Which of the following RAM types is LEAST likely to work optimally when installed in dual channel mode?

A. SDRAM B. RAMBUS C. DDR2 D. DDR3

Computer Science & Information Technology

The output of web design is permanent and stable.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology