c语言中输出char类型所占据的位数(因编译器而异)

 

001、

#include <stdio.h>
#include <limits.h>

int main(void)
{
    printf("CHAR_BIT: %d\n", CHAR_BIT);
    
    return 0;
}

 

 

posted @ 2022-08-15 02:21  小鲨鱼2018  阅读(42)  评论(0编辑  收藏  举报