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

