/in/foo.c: In function 'main':
/in/foo.c:39:12: warning: passing argument 2 of 'rotate' makes integer from pointer without a cast [-Wint-conversion]
rotate(a,b,4);
^
/in/foo.c:14:6: note: expected 'int' but argument is of type 'int (*)[10]'
void rotate(int a[][N],int n)
^~~~~~
/in/foo.c:39:3: error: too many arguments to function 'rotate'
rotate(a,b,4);
^~~~~~
/in/foo.c:14:6: note: declared here
void rotate(int a[][N],int n)
^~~~~~
/in/foo.c:45:3: error: case label not within a switch statement
case 0:puts("A!=B");break;
^~~~
/in/foo.c:45:23: error: break statement not within loop or switch
case 0:puts("A!=B");break;
^~~~~
/in/foo.c:46:3: error: case label not within a switch statement
case 1:puts("A=B");break;
^~~~
/in/foo.c:46:22: error: break statement not within loop or switch
case 1:puts("A=B");break;
^~~~~
/in/foo.c:47:3: error: case label not within a switch statement
case 2:puts("A rotate 90,A=B");
^~~~
/in/foo.c: In function 'equal':
/in/foo.c:13:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^