What is the value of the 3/5*5 expression in C ++?
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
C++ Quiz
Start Quiz

or Read more about C++ Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback