++*p means first we will access the value pointed by p and then we will increment that value(as it is preincrement so incremented value will be printed )
and (*p)++ first we will acesss the value pointed by p and print it then we will increment the value (as it is post increment)