以下两行之间是否有区别,如果有,区别是什么? (在 C++ 中)
float (**a[10]);
float *(*a[10]);
最佳答案
不。试试
float (**a[10]);
float *(*b[10]);
if (typeid(a) == typeid(b))
printf("==\n");
else
printf("!=\n");
输出是
==
关于c++ - 与数组一起使用时的双指针差异,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/26007783/