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