如果两个指针有相同的基类型,那么它们相同。
Two pointer types are identical if they have identical base types.
因此y的类型就是有四个元素、这些元素指向char类型的指针数组。
Thus, array (pointer (char), 4) is the type of arrays of 4 Pointers to char.
我们现在知道了这是一个函数指针类型,它可以引用任何有一个int类型参数并且返回一个string类型的方法。
We now know that this represents a function pointer type that can refer to any method taking a single int argument and returning a string.
应用推荐