
Operators and Expressions
1. What is the role of operator?
Ans: An operator performs different operations on operands and produces result. An expression is to
be created with the help of operator and operands, i.e., expression is build with operator and operands.
For example, the following expression contains two operands and one operator.
a*b,
where a and b are operands and * is the operator.
Similarly, by using different operators’ expressions can be built. Operator operates on single operand
or more than one operand.
2. Explain different types of operators supported by C.
Ans: The C language supports different exhaustive operators. All of