Please give answer...with explanation


#1

What is the difference b/w
1 (*p)++
2 *§++
where p is an int pointer


#2

The expression *p++ is treated as *(p++) as the precedence of postfix ++ is higher than *.
whereas (*p)++ post-increments value pointed by p.
for e.g.
int arr[2]={23,56}
then if *p=arr,
after
1)*p++, *p is 56.
2)(*p)++, *p is 24.