1、typedef int *PINT;
const PINT p2;相当于是int *const p2;
2、typedef int *PINT;
PINT const p2;相当于是int *const p2;
3、typedef const int *CPINT;
CPINT p1;相当于const int *p;
typedef与const
最新推荐文章于 2022-04-04 17:09:55 发布
1、typedef int *PINT;
const PINT p2;相当于是int *const p2;
2、typedef int *PINT;
PINT const p2;相当于是int *const p2;
3、typedef const int *CPINT;
CPINT p1;相当于const int *p;