Searching...

Logical Operators:

15:49



There are following logical operators supported by C++ language
Assume variable A holds 1 and variable B holds 0 then:
Operator               Description      Example
&& Called Logical AND operator. If both the operands are non zero then condition becomes true.         (A && B) is false.
||Called Logical OR Operator. If any of the two operands is non zero then condition becomes true.         (A || B) is true.
!Called Logical NOT Operator. Use to reverses the logical state of its operand. If a condition is true then Logical NOT operator will make false.          !(A && B) is tru

0 comments:

Post a Comment

Thanks For Your FeedBack....

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.