#include <stdio.h> void f (int *myarr[2]) { for (int i = 0; i < 2; ++i) for (int j = 0; j < 2; ++j) } int main () { int myarr[][2] = { { 0, 1}, {0, 1}}; f (myarr); return 0; }
Standard input is empty
cc1: warnings being treated as errors prog.c: In function ‘main’: prog.c:14: error: passing argument 1 of ‘f’ from incompatible pointer type
Standard output is empty