Operators
Operators are used to manipulate and check operand values. In C programming Operators are symbols which take one or more operands or expressions and perform arithmetic or logical computations.
If the operator manipulates one operand it is known as unary operator; if the operator manipulates two operands, it is known as binary operator and if the operator manipulates three operands, it is known as ternary operator.
The operators indicate what action or operation to perform.
Ex:
- Arithmetic operators >>>> all are binary operators
- Logical operators >>>> all are binary operators
- Relational operators >>>> all are binary operators
- Bitwise operators >>>> all are binary operators except !and ~
- Increment, decrement operators >>>> unary operators
- Assignment operators >>>> binary operators
- Conditional operator >>>> ternary operator
- Type cast operator >>>>unary operator
- Size of operator >>>> unary operator
- Comma operator >>>> binary operator
Operands
Operands are numerical, text and Boolean values that a program can manipulate and use as logical guidelines for making decisions.
Like with math, computer programs can use constant values and variables as operands.
If you have the variable "dozens" with the value of “2" and the constant "12" in the equation "dozens*12 = 24."
Both "dozens" and "12" are operands in the equation.

.png)
.jpg)
