Tuesday 7 July 2020

AND Logic In C++


                                           AND Logic
AND logic Symbol in C++ is “&&”.Consider three int a b & c having value 2 ,3 ,8 respectively.if we apply condition a>b & c>b .




There will be no output because for AND Logic Both condition should be true as in this case c>b is true but a>b is no true .So in Result there will be no output.



No comments:

Post a Comment