001、
#include <stdio.h>
#include <limits.h> ## CHAR_BIT定义了char型所占用的位数, 该变量定义在limits.h头文件中
int main(void)
{
printf("CHAR_BIT = %d/n", CHAR_BIT);
return 0;
}

这说明,当前编译器中默认char型变量所占的位数为8.
c语言中将表示字符的char型的长度定义为1.(1个字节)
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/280830.html