why is int ** x not the same as int x[][]?
问题 This may be a dumb question but I don't understand why do I get this error : void func (int ** array) { } int main (void) { int array[5][5] = { }; func(array); } warning: passing argument 1 of 'func' from incompatible pointer type [-Wincompatible-pointer-types] func(array); ^~~~~ note: expected 'int **' but argument is of type 'int (*)[5]' void func (int ** array) { } ~~~~~~~^~~~~ 回答1: Consider a function void foo(int **p) . The p it is given contains some address. At that address, there is