const int a; 修饰变量 值不改变;
int constp; 修饰指针 地址不变
const int constp; 值和地址都不能变
const修饰符的使用(修饰结构体指针,引用外部的const 变量)
最新推荐文章于 2023-07-11 22:32:48 发布
const int a; 修饰变量 值不改变;
int constp; 修饰指针 地址不变
const int constp; 值和地址都不能变