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