1.typedef int * PINT
const PINT p2 相当于是 int * const p2
PINT const p2 也相当于是 int * const p2
如果趋势想得到 const int * p 这种效果。只能
typedef const int * CPINT;
CPINT p;
1.typedef int * PINT
const PINT p2 相当于是 int * const p2
PINT const p2 也相当于是 int * const p2
如果趋势想得到 const int * p 这种效果。只能
typedef const int * CPINT;
CPINT p;