如果指针指向继承层次中的一种类型,指针所指对象的类型就有可能与指针的类型不同。
If the pointer points to a type from an inheritance hierarchy, it is possible that the type of the object to which the pointer points is different from the type of the pointer.
因此,需要注意将整数值转换为指针类型的应用程序。
Therefore, applications casting integer values to pointer types might need attention.
导致内存破坏的指针操作类型。
应用推荐