Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Because 1 < a
= 1 (first operator)
AND = 1 (true) (second operator)
That is, first the first operator is calculated ,
and what happened goes to the second operator .
Write1 < 5
if(1 < a && a < 5)std::cout<<"IN";
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question