Operator in C
Operator in C In C Programming language, operator are symbols that represent Operation to be perform on one or more operands. An operators specified an operation to be performed that yields a value. Here are some commonly used operator in C : 1. Arithmetic Operators Arithmetic operators are used for numeric calculations. These Operators are used to perform for mathematical/arithmetic operations on operands. They are of two types- a. Unary Arithmetic operators unary operators require only one operand. for example: +x -y here '-' changes the sign of the operand y. b. Binary Arithmetic operators Binary operators require two operands. There are five arithmetic operators- Operator Purpose + addition - subtraction * multiplication % Gives the remainder in integer division NOTE : %(modulus operator) cannot be applied w...