Tuesday, December 11, 2018 13:15

Posts Tagged ‘logical operators’

Logical operators

Friday, January 6th, 2017

Logical operators are quite simple, since they can only produce two outputs: true or false. The basic logical (Boolean) operators are AND (&&), OR (||),  XOR (also called “Exclusive OR”, ^) and NOT (or negation, !).

I will show you a sample of the four logical operations and the results that they produce: