Computer Science, asked by UniquePrincess1234, 5 months ago

Among the postfix and prefix operators, which of them has a greater priority​

Answers

Answered by Anonymous
8

Hope it is helpful

In C/C++, precedence of Prefix ++ (or Prefix –) has higher priority than dereference (*) operator, and precedence of Postfix ++ (or Postfix –) is higher than both Prefix ++ and *. If p is a pointer then *p++ is equivalent to *(p++) and ++*p is equivalent to ++(*p) (both Prefix ++ and * are right associative)

Similar questions