摘要:
char a[][10]和char *a[]的区别: char a[][10]是一个二维字符串数组,每个字符串的字符数不超过10个;char *a[]是一个指针数组a,每个字符串的字符数不受限制。 阅读全文
posted @ 2018-07-23 16:41
Tyrants
阅读(184)
评论(0)
推荐(0)
摘要:
int i; const int* p1=&i; int const* p2=&i; int *const p3=&i; 判断哪个被const了的标志是const在*的前面还是后面 p1、p2是同一种const,不能直接对*p赋值;p3不能进行p3++操作。 如:const int* p=&i; i 阅读全文
posted @ 2018-07-23 15:01
Tyrants
阅读(186)
评论(0)
推荐(0)

浙公网安备 33010602011771号