Relational Operators

Learn all about relational operators.

Introduction to relational operators

A relational operator compares the value of two operands.

📝 The output of a relational operator is a bool data type.

Here is the list of relational operators available in C++:

Example program with int

Consider ...