Vidyalelo
C++ Programming · Q7

Variables and Data Types in C++

Programming · C++ Programming · question 7

Q7

What is the result of the following expression in C++: 5 / 2?

A.
Compiler error
B.
2.6
C.
2.5
D.
2
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board