C++
What is th ...
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
What is the value of the 3/5*5 expression in C++?
1
0
0.12
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
operators
integer division
basics
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
C
++
Quiz
Login to learn C++
or
Read more about
C++ Quizzes
Follow CodeGalaxy
Mobile Beta
Send Feedback
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment