标签:字节 its out namespace har name int pac nbsp
在C\C++中char 、short 、int各占多少个字节 :
#include <bits/stdc++.h> using namespace std; int main() { cout <<sizeof(char) <<endl; cout <<sizeof(short) <<endl; cout <<sizeof(int) <<endl; // 输出结果依次是1、2、4 }
在C\C++中char 、short 、int各占多少个字节
标签:字节 its out namespace har name int pac nbsp
原文地址:https://www.cnblogs.com/GetcharZp/p/9828391.html