+ 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 Ghaly
Mina Ghaly - avatar
2 Respostas
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