[Solved] What does *a = *b mean in C? [closed]
*a = *b; The above statement will simply do this: value(a) <– value(b) (i.e. pointer a will contain value ‘d’ ). printf(“%x\n”, a); This will print the pointer’s address(a) in hexadecimal. However, always use the “%p” format identifier to print the addresses. “%x” is used to print the values in hexadecimal format. printf(“%x\n”, *a); Since … Read more