0
Explain line by line please what does "evaluate" mean? , '!' , '&' and the true or fasle question! ?!?!??!?!
evaluate (a= =!b)&&a , if a is a true or fasle !!!!!!!!!
2 Respostas
0
lol brother it is a question which says solve this logical expression and deduce answer. ok now the question is how to solve the above expression. brackets have highest precedence in operators so first we solve the expression inside the bracket in your case ( a == !b) then the rest expression. if you really want to learn this please read logical operators section of C + + course
0
1. replace values (true ==! false) && true
2. evaluate what's in the brackets.
(true ==! false)
(true == true) // not false
(true) // yes, true does equal true. both sides
are equal
3. now we have
true && true // both conditions are true, so
4. true