Who has the highest precedence between || and && in C++ ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Who has the highest precedence between || and && in C++ ??

26th Jun 2018, 5:29 PM
Omkar Dedge
Omkar Dedge - avatar
5 Answers
+ 3
I also think that && has higher precedence than || in c++.
26th Jun 2018, 5:37 PM
Omkar Dedge
Omkar Dedge - avatar
+ 5
&& has a higher precedence than ||
26th Jun 2018, 5:32 PM
Agent
Agent - avatar
+ 3
Agent now what about python?
26th Jun 2018, 5:33 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 3
LONGTIE it is the same in python
26th Jun 2018, 5:36 PM
Agent
Agent - avatar