题解 | #定义变量#
定义变量
https://www.nowcoder.com/practice/3ddbc410017a4da48f05a6c8619b32d2
#include <iostream>
using namespace std;
int main() {
// write your code here......
cout<<sizeof(char)<<endl;
cout<<sizeof(int)<<endl;
cout<<sizeof(long)<<endl;
cout<<sizeof(double)<<endl;
return 0;
}
查看17道真题和解析