If c=5 and d=2 then,((c==5) && (d>5))
&&
Logial AND
returns false.
If c=5 and d=2 then, ((c==5) || (d>5))
||
Logical OR
returns true.
!
Logical NOT
If c=5 then, !(c==5) returns false.