OPERATORS AND EXPRESSIONS IN ‘C’
Operators form expressions by joining individual constants, variables, array elements as discussed in previous lesson. C includes a large number of operators which fall into different categories. In this lesson we will see how arithmetic operators, unary operators, relational and logical operators, assignment operators and the conditional operators are used to form expressions.
The data items on which operators act upon are called operands. Some operators require two operands while others require only one operand. Most operators allow the individual operands to be expressions. A few operators permit only single variable as operand.
OPERATORS AND EXPRESSIONS IN ‘C’ OBJECTIVES
After going through this lesson you will be able to
- recognize arithmetic operators
- explain unary operators
- define relational, logical, assignment & conditional operators
- explain library functions
OPERATORS AND EXPRESSIONS IN ‘C’ - Index
- ARITHMETIC OPERATORS
- UNARY OPERATORS
- RELATIONAL, LOGICAL, ASSIGNMENT, CONDITIONAL OPERATORS
- LIBRARY FUCNTIONS
- Important Questions
OPERATORS AND EXPRESSIONS IN ‘C’ - Download PDF