0
Why?
I faced the below problems in my solo learn challenge can someone explain the reason behind the answer? https://www.sololearn.com/post/331458/?ref=app
2 ответов
+ 2
In C, all non-null values are considered to be true, so both 2 and 4 are converted accordingly, thus the entire condition is true as well. Then, the boolean equivalent for true is one, hence the output.
0
Shadow now i get it, thanks mate