C/C++:sizeof运算符

来源:互联网 发布:域名过户流程 编辑:程序博客网 时间:2024/06/05 20:55
#include <stdio.h>#include <stdlib.h>int main(void){    printf("保存int类型的字节数为%d\n", sizeof(int));    printf("保存double类型的字节数为%d\n", sizeof(double));    system("pause");    return 0;}
原创粉丝点击