Priority of operators in c Language
In ‘c’ programming language, total no.of operators are 44 and according to the priority this operator are
pointer to member
1 | ( ),[ ], | |
2 |
~ - 1’s compliment * _ in direction & - address of | |
3 |
| |
4 | *,- | |
5 | << (L.shift),>> (R.shift) | |
6 | <,<=,>,>= | |
7 | !=,== | |
8 | &(Bitwise - ANd) | |
9 | ^(B.XOR) | |
10 | 1(B.OR) | |
11 | && | |
12 | || | |
13 | ?: | |
14 |
| |
15 | , |