Saved Bookmarks
| 1. |
Write about Binary operators used in C++. |
|
Answer» Binary Operators require two operands: Arithmetic operators that perform simple arithmetic operations like addition, subtraction, multiplication, division (+, -, * , %, /) etc. are binary operators which requires minimum of two operands. Relational operators are used to determine the relationship between its operands. The relational operators (, >= , <= , == , !=) are applied on two operands, hence they are binary operators. AND, OR (logical operator) both are binary operators. Assignment operator is also a binary operator (+= , – = , *= , /= , %=). |
|