指针为什么有类型

 在C++中,牵涉到指针的位移运算。

    type* p; p++;//位移sizeof(type)字节

原文地址:https://www.cnblogs.com/Baronboy/p/8013030.html