摘要: 1.字面常量 30;3.14;'w' 2.const修饰的常变量 const int a=10; 在C语言中,const修饰的a,本质是变量,但是不能被直接修改,有常量的属性。 3.define定义的常量 define max 100 4.枚举常量 enum color { RED BIUE GRE 阅读全文
posted @ 2025-10-26 23:43 wisterias 阅读(3) 评论(0) 推荐(0)