Join Regular Classroom : Visit ClassroomTech

Precedence in C operators

Precedence in C operators:

Like mathematics, C also have precedence of it’s operators. Precedence in operators try to help the compiler evaluate an expression and determines the grouping of terms in that expression.
For example , if we write x = 6+2*3, then the result of x will be 12, not 24. ‘*’ has a higher precedence than ‘+’. Like this , in C programming the operators have a precedence.

Categories
Pages
Recent Posts