Difference between ++*p, *p++ and *++p?
1) Precedence of prefix ++ and * is same. Associativity of both is right to left. 2) Precedence of postfix ++ is higher than both * and prefix ++. Associativity of postfix ++ is left to right. The expression ++*p has two operators of same precedence, so compiler looks… Read More »Difference between ++*p, *p++ and *++p?