Relational Operator

Relational Operator:

>> In computer science, a relational operator is a programming language construct or operator that tests or defines some kind of relation between two entities.

>> These include numerical equality (e.g., 5 = 5) and inequalities (e.g., 4 ≥ 3).

>> In programming languages that include a distinct boolean data type in their type system, like Java, these operators return true or false, depending on whether the conditional relationship between the two operands holds or not.

>> In other languages such as C, relational operators return the integers 0 or 1.

Related posts

Leave a Reply

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