Now I'm going to have another pointer to an int.
现在我声明另一个int型指针。
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.
我们现在知道了这是一个函数指针类型,它可以引用任何有一个int类型参数并且返回一个string类型的方法。
The solution is to cast the address of the floating point variable to a pointer to an int, which is then de-referenced as shown below.
解决方案是将浮点变量的地址强制转换成一个指向整型类型的指针,如下所示。
The solution is to cast the address of the floating point variable to a pointer to an int, which is then de-referenced as shown below.
解决方案是将浮点变量的地址强制转换成一个指向整型类型的指针,如下所示。
应用推荐