如何分清int*const p, int const*p ,const int* p呢?
说说我发现的小规律, 被const修饰的之后的值不变,并且 int const* p与const int* p是等价的。
目录
举几个例子:
①int *const p
②int const*p
③const int *p
喜欢的话,麻烦点个赞吧💕
如何分清int*const p, int const*p ,const int* p呢?
说说我发现的小规律, 被const修饰的之后的值不变,并且 int const* p与const int* p是等价的。
目录
举几个例子:
喜欢的话,麻烦点个赞吧💕