Priority of operators in c Language

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. +,-,++,- -,!,~,*,&, sizeof,(type)

~   -        1’s compliment

*     _        in direction

&    -        address of

3

  1. *,/,%

4*,-
5<< (L.shift),>> (R.shift)
6<,<=,>,>=
7!=,==
8&(Bitwise - ANd)
9^(B.XOR)
101(B.OR)
11&&
12||
13?:
14

  1. =,+=,-=,*=,/=,%=,&=,!=,^=,<<=,>>=

15,