Sunday, September 18, 2016


Logical Operator:-

The following are the logical operators:- * && * || * ! Logical AND Truth Table C1 C2 Output True True True False True False True False False False False False From the above table, we understand that the condition 1 and condition 2
are true then the output will be true, otherwise it will be false. Logical OR Truth Table C1 C2 Output True True True False True True True False True False False False From the above table, we understand that the condition 1 and condition 2
are false then the output will be false, otherwise it will be true. Logical NOT Truth Table C Output True False False True From the above table, we understand that the condition is true then the output is
false, if the condition is false then the output is true.

No comments:

Post a Comment