Explain order of precedence with respect to operators in C.

: 505
Paper : C Programming FAQ (Frequently Asked Questions and answers) for freshers | Platform : Procedural Programming Languages | Category : Programming FAQs

Order of precedence table inform which operation must be performed in the operation and conditional statement.

The order of precedence table is as follow:

  • Unary operator
  • Arithmetic operator
  • Relational operator
  • Equality operator
  • Logical operator
  • Assignment operator
Suggested Papers: