There are several operators present in C. They may be classified as follows:
These operators are used to perform arithmetic operations like addition, subtraction etc. The following table describes the arithmetic operators in descending order of priority.
Modular division (%) : returns the remainder after division.
These operators are used for comparison between values of two variables. The operators are as follows:
These operators are used to join multiple conditions so that they may be placed in the same conditional statement. The operators are as follows:
These operators are used to operate on data at the bit level, i.e. these operators are used too manipulate the bits of a variable. These operators are as follows:
You have viewed 1 page out of 248. Your C learning is 0.00% complete. Login to check your learning progress.
Similar topics related to this section
infinite loops, break and continue, switch statement, continue in switch and loops, basic operators, logical operators, logical vs bitwise operators, logical and bitwise or, bit shifting,
C Programming Language (Prentice Hall Software)
Let Us C Paperback - 2006 by Yashavant Kanetkar
Understanding and Using C Pointers Core techniques for memory management
Data Structures Using C and C++ Paperback - 1998
Data Structures In C Paperback - August 11, 2008 by Noel Kalicharan