Precedence of ‘ * ‘ and ‘ & ‘ Operator in C Programming

January 8, 2012 No Comments » Hits : 236





Operator *

Star(*) operator is used for two purposes -

  • Multiplication
  • In Pointer for De-referencing

Some important points about De-Reference Operator

  • * is unary operator when use in pointer.
  • * is binary operator when used for multiplication.
  • * inside pointer is called as “De-reference” Operator Or “Value at Operator

Precedence of ‘ * ‘ and ‘ & ‘ Operator

  • Both are Unary Operators
  • They have Equal Precedence
  • They Associate from Right –> Left

Incoming search terms: