Computer Science, asked by jhumam1981, 7 months ago

what is the difference between a relational operator and logical operator​

Answers

Answered by abhishekpatel59259
6

Answer:

Relational, equality and logical operators are used to form logic expressions. Relational and equality operators usually compare two numbers and return a value of true or false (forming a logic expression). Logical operators combine logical values of true or false into a logical expression.

Explanation:

Mark as brainlist

Answered by Arpita1810
4

Logical operators tend to require Boolean operands and execute an actual operation (be it || or, && and, or ! not).

Relational operators can act on a wider set of operands, but their results are Boolean and generally get used for tests (case, if, while, etc).

Similar questions