#include <iostream>
using namespace std;
void main()
{
cout << sizeof(char) << endl;
cout << sizeof(unsigned char) << endl;
cout << sizeof(signed char) << endl;
cout << sizeof(int) << endl;
cout << sizeof(unsigned int) << endl;
cout << sizeof(signed int) << endl;
cout << sizeof(float) << endl;
cout << sizeof(double) << endl;
cout << sizeof(long) << endl;
cout << sizeof(long long) << endl;
system("pause");
}
c++ 数据字节
猜你喜欢
转载自blog.csdn.net/qq_29996285/article/details/84206608
今日推荐
周排行