C++ short-C++短整型-C++ short取值范围-嗨客网

PHOTO EMBED

Wed Dec 07 2022 08:46:22 GMT+0000 (Coordinated Universal Time)

Saved by @leawoliu

#include <iostream>
using namespace std;
int main(int argc, char **argv)
{
	cout << "嗨客网(www.haicoder.net)\n" << endl;
	short sNum = 100;
	cout << "sizeof short = " << sizeof(sNum) << endl;
}
content_copyCOPY

https://m.haicoder.net/cpp/cpp-short.html