const int *
5.Please choose the right statement about constusage:
A.const int a;//const interger
B.int const a;//const integer
C.int const *a;//a pointer while point to const interger
D.const int *a;//a const pointer which point to interger
E.int const *a;//a const pointer which point to interger
解析:
正确答案:ABC
对于A和B,int const和const int可以颠倒位置,意义不变
CDE都表示const int的指针,而int *const a才表示指向int的const指针。