摘要: const int a; //代表整型变量a不能被修改 int const b; const char *c; //看const 是放在*的左边还是右边 看const是修饰指针变量,还是修饰所指向的内存空变量 char * const d; char buf[100] #include #include #include void main() { ... 阅读全文
posted @ 2015-11-12 18:21 那时天空蓝 阅读(97) 评论(0) 推荐(0) 编辑