C语言一道关于指针数组的题求问

2025-03-02 09:08:45
推荐回答(1个)
回答1:

传参不符,函数turn的声明应该是void turn(int (*a)[MAX], int (*b)[MAX], int m);
在现代的编译器上这样的语句根本就是error而不是warning