What is the value of the 3/5*5 expression in C++?
Explanation
Since only integers are used in the given expression, * and / operations have the same priority. Expression is executed from left to right, so we will have:
3/5 == 0
0*5 == 0

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты