Saved Bookmarks
| 1. |
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them. |
|
Answer» Arithmetic operators : perform simple arithmetic operations like addition, subtraction, multiplication, division etc. Unary Operators : Require only one operand . Example: +, -, * , /, %, >, <, <= , AND,OR Arithmetic operators : perform simple arithmetic operations like addition, subtraction, multiplication, division etc. Unary Operators : Require only one operand . Example: +, -, * , /, %, >, <, <= , AND, OR |
|