How does c++ figure the result of more than 2 conditions in (if, while , for) if i didn't use any ()?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How does c++ figure the result of more than 2 conditions in (if, while , for) if i didn't use any ()??

cond =condition writing if or while or for (cond 1 && cond 2 || cond 3 ! cond 4) in which order does c++ figure how to solve this if i didn't but () between conditiins ??

14th Jan 2017, 10:00 PM
Mina Shaker
Mina Shaker - avatar
2 Answers
14th Jan 2017, 10:12 PM
Robobrine
Robobrine - avatar
0
I guess it will go from left to right
14th Jan 2017, 10:58 PM
Pankaj Vaghela
Pankaj Vaghela - avatar