prog.c:2:14: error: array type has incomplete element type 'int[]'
int row (int a[][],int i,int j)
^
prog.c:11:14: error: array type has incomplete element type 'int[]'
int col (int a[][],int i,int j)
^
prog.c: In function 'main':
prog.c:31:15: error: expected ')' before 'a'
scanf("%ld"a[i][j]);
^
prog.c:31:10: warning: format '%ld' expects a matching 'long int *' argument [-Wformat=]
scanf("%ld"a[i][j]);
^
prog.c:38:11: error: expected expression before ']' token
c=row(a[][],i,j);
^
prog.c:38:9: error: type of formal parameter 1 is incomplete
c=row(a[][],i,j);
^
prog.c:39:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(c=0)
^
prog.c:40:10: error: expected expression before ']' token
c=row(a[][],i,j);
^
prog.c:40:8: error: type of formal parameter 1 is incomplete
c=row(a[][],i,j);
^
prog.c:45:11: error: expected expression before ']' token
c=col(a[][],i,j);
^
prog.c:45:9: error: type of formal parameter 1 is incomplete
c=col(a[][],i,j);
^
prog.c:46:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(c=0)
^
prog.c:47:10: error: expected expression before ']' token
c=col(a[][],i,j);
^
prog.c:47:8: error: type of formal parameter 1 is incomplete
c=col(a[][],i,j);
^
prog.c:51:15: error: lvalue required as left operand of assignment
}while(i=m&&j=n);
^
prog.c:22:11: warning: variable 'a' set but not used [-Wunused-but-set-variable]
long int a[500][500];
^