%d gives the original value of the variable and %*d gives the address of the variable.
eg:-
int a=10,b=20;
printf("\n%d%d",a,b);
printf("\n%*d%*d",a,b);
Result is
10 20
1775 1775
Here 1775 is the starting address of the memory allocation for the integer. a and b having same address because of contagious memory allocation.