摘要: 对于int * const cpi,const修饰指针cpi本身,所以指针本身是常量不可变,而其所指之处的值可变。称为常量指针。 对于const int * pci 或 int const * pci,const修饰的是(*pci),所以pci是指向常量的指针。 1 #include <stdio. 阅读全文
posted @ 2024-07-24 20:38 hk416hasu 阅读(1) 评论(0) 推荐(0) 编辑