SyntaxFix
Write A Post
Hire A Developer
Questions
I believe this would be most correct.
printf("%p", (void *)emp1); printf("%p", (void *)*emp1);
printf() is a variadic function and must be passed arguments of the right types. The standard says %p takes void *.
printf()
%p
void *