logical operations | Sololearn: Learn to code for FREE!


logical operations

what is the difference between operator "or" and operator"ll"?

8/30/2019 7:24:47 PM

lakshmi tulasi javvadi

5 Answers

New Answer


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 ||


Check this out https://stackoverflow.com/q/5998309/9341148 I think its precedence or something but the post should clarify it



Or operrator can't be used in c but || can be used


hi babes, let's have s********