认识常量 🍔1.字面常量 🍔 2.const 修饰的常变量–变量值不能被修改 🍔3.define定义的标识符常量 🍔4.枚举常量 enum Color { //枚举常量 RED, GREEN, BULE, } int arr [10]:定义一个数组arr,里面可存放10个整型数据 ↩︎