Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

logical operators

Please thank, like, follow and improve
logical operators are used to test multiple conditions i.e. combine two or more conditions
They are:
and - &
or - |
not - !
and operators return true if and only if both operators are true. 
or operators return true if at least one operator is true.
not operator inverts a situation or condition: if true it turns it false and vice-versa.
 
PREVIOUS NEXT
Tagged: #logical #operators
ADD COMMENT
Topic
Name
5+9 =