How relational and logical operators related to one another?

Q6. How are relational operators and logical operators related to one another?

Ans. Relational operators establish relationships among the values. Logical operators refer to the ways these relationships (among values) can be connected. C++ provides three logical operators to combine existing expressions. These are || (logical OR), && (logical AND) and !(logical NOT) .

Leave a Reply

Your email address will not be published. Required fields are marked *

92 Views
%d bloggers like this: