C 语言 数据类型长度

/*
    int  z11 =sizeof(int); //4
    int  z12 = sizeof(char); //1
    int  z13 = sizeof(unsigned char); //1
    int  z14 = sizeof(unsigned short int); //2
    int  z15 = sizeof(unsigned int); //4
    int  z16 = sizeof(unsigned short);//2  1个字节8位;1个F是4位;所以1个字节是FF=255;
*/

 

posted @ 2020-03-09 17:02  enych  阅读(257)  评论(0编辑  收藏  举报