[求助]指针的指针问题
#include <stdio.h>
main()
{
float x;
float *px=&x;
x=5.8;
printf("x :%f\n",x);
printf("*px:%f\n",*px);
printf("&x :%x(HEX)\n",&x);
printf("px :%x(HEX)\n",px);
printf("&px :%x(HEX)\n",&px);
}
RUN:
x :5.800000
*px :5.800000
&x :ffdc(HEX)
px :ffdc(HEX)
&px:ffd0(HEX)
能帮我解答下
1)如何转换成16进制输出ffdc的?
2)最后一个输出为什么是ffd0啊?