Solved

What Is the Output After the Following Code Executes

Question 26

Multiple Choice

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

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions