标签:style http color io 使用 ar 数据 div sp
int num = 256;printf("%p\n",&num); //0107FAFCprintf("%#p\n", &num); //0X0107FAFCprintf("%x\n", &num); //107fafcprintf("%#x\n", &num); //0x107fafc
#include <stdio.h>
int main()
{
int num = 5555; //十六进制0x15b3
小端存储 b3 15 -----内存unsigned char c
= num; // b3 只留下低字节printf("%d\n", c); //输出179
}
#include <stdio.h>
int main()
{
unsigned int a = 6;
if (a - 10 > 0) //结果会当成一个无符号整形来看待
{
printf("aaaaaaaaa\n");
}
}
标签:style http color io 使用 ar 数据 div sp
原文地址:http://www.cnblogs.com/l6241425/p/3951460.html