摘要: #include<stdio.h> int main(){ int a; //通过键盘输入赋值 //&运算符,表示取地址运算符 scanf("%d",&a); printf("%d\n",a); return 0; } 阅读全文
posted @ 2025-10-14 17:11 冰涿 阅读(5) 评论(0) 推荐(0)
摘要: 数据类型关键字总共12个 字符型:char 整型:int short long (long long)最后一个较少接触 浮点型:float double 类型限定:unsigned signed 复合类型:struct(定义结构体) union(定义联合体或共用体) enum(枚举) 空类型:voi 阅读全文
posted @ 2025-10-14 16:55 冰涿 阅读(7) 评论(0) 推荐(0)