+ 3
logical operations
what is the difference between operator "or" and operator"ll"?
5 Antworten
+ 1
In c and c++ you have to use || which is symbolic representation of 'or' . Or you can say in c and c++ here || stands for 'or' where or cant be read by compiler hence its show error when you write or so you have to use ||
+ 2
Check this out
https://stackoverflow.com/q/5998309/9341148
I think its precedence or something but the post should clarify it
+ 1
i get it
+ 1
Or operrator can't be used in c but || can be used