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