日期:2023年10月9号
一、查询字节数
#include <stdio.h>
main(){
char c;
printf("%d\n",sizeof(c));
}
二、实数
#include<stdio.h>
main(){
int d;
float f;
d=81;
f=123.45;
d=f;//实数赋值给整数变量,实质就是赋值实数的整数部分
printf("%d\n",d);
}