3

Operators and Expressions

CHAPTER OUTLINE
3.1 OPERATORS

Operators perform operations on operands. An operand is a data item on which the operation is to be performed. C supports numerous operators, which fall into different categories.

C provides the following four basic classes of operators:

(i) Arithmetic, (ii) Relational, (iii) Logical and (iv) Bitwise.

Besides these four basic operators, C also supports additional operators such as increment, decrement, conditional and assignment. Basic operators ...

Get C Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.