Solved

Which of the Following Expressions Will Evaluate to 2

Question 37

Multiple Choice

Which of the following expressions will evaluate to 2.5?


A) static_cast<double>(5 / 2)
B) 5 / static_cast<double>(2)
C) static_cast<double>(5) / 2
D) All three of the above
E) Both B and C, but not A

Correct Answer:

verifed

Verified

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

Related Questions