Operator: Show Examples
Operator: Show Examples
Arithmetic Operators
Relational Operators
Arithmetic Operators
There are following arithmetic operators supported by C++ language −
Assume A holds 10 and B holds 20, then −
Show Examples
Relational Operators
There are following relational operators supported by C++ language
Assume A holds 10 and B holds 20, then −
Show Examples
Operato Description Example
r
> Checks if the value of left operand is greater (A > B) is not true.
than the value of right operand, if yes then
condition becomes true.
>= Checks if the value of left operand is greater (A >= B) is not true.
than or equal to the value of right operand, if
yes then condition becomes true.