1. What is the function of operators ? What are arithmetic operators ? Give their examples.
Operators operate on data to give values. Arithmetic operators do arithmetic operations. They are
Operators operate on data to give values. Arithmetic operators do arithmetic operations. They are
Unary ‘+’ operator operates on one operand e.g. +a while ‘+’ operator needs two operand e.g. a+b. Same is the case between unary ‘-‘ and ‘ -‘ operator.