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