What will be the sequence of operations? p == true &&! (p &&! q) && q! = (r ||! r && s ||! s)
- onesequence: from left to right - Grundy
- @Grundy is not always. Operators have priority and direction. For example, the + operator works from right to left. - Misha Saidov
- @MishaSaidov, is there an + operator in this expression? and what does the + operator mean from right to left ? - Grundy
- @Grundy is not, but there is a logical negation (!), Which is from right to left - Misha Saidov
- 2@MishaSaidov, the unary operation applied several times remains unary :-) - Grundy
|