In C, the precedence of * is higher than and = Hence, 17 * 6 is evaluated first Then the expression involving is evaluated as the precedence of is higher than that of = Here's a table of operators precedence from higher to lowerOperator precedence is used to determine the order of operators evaluated in an expression In c programming language every operator has precedence (priority) When there is more than one operator in an expression the operator with higher precedence is evaluated first and the operator with the least precedence is evaluated lastC operator precedence and associativity table The following table shows the precedence and associativity of C operators (from highest to lowest precedence) Operators with the same precedence number have equal precedence unless another
Operator Precedence In C Example With Explanation Learnprogramo