基本数据类型

#include <stdio.h>

int main()
{
    char c = 0;
    short s = 0;
    int i = 0;
    
    printf("%d, %d ", sizeof(char), sizeof(c));
    printf("%d, %d ", sizeof(short), sizeof(s));
    printf("%d, %d ", sizeof(int), sizeof(i));
    
    return 0;
}

原文地址:https://www.cnblogs.com/wxb20/p/6145776.html