第二次作业2
#include<stdio.h> int main() { int i; long m; float f; double d; printf("sizeof(int)=%d,sizeof(i)=%d,&i=%x\n",sizeof(int),sizeof(i),&i); printf("sizeof(long)=%d,sizeof(m)=%d,&m=%x\n",sizeof(long),sizeof(m),&m); printf("sizeof(float)=%d,sizeof(f)=%d,&f=%x\n",sizeof(float),sizeof(f),&f); printf("sizeof(double)=%d,sizeof(d)=%d,&d=%x\n",sizeof(double),sizeof(d),&d); }