+ 2
Data variables in C Language
In Language C can I use this int a= 1 || 2|| 3; when I used this compiler show no error.. is this right or wrong??
3 ответов
+ 4
yes both are right because OR operations takes one or another value take.
+ 2
Basically, double pipe is a boolean operator. For numbers use single |
0
no actually it's OR operation