foo.c: In function 'dp':
foo.c:12:1: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
memset(temp,0,sizeof(temp));
^
foo.c:12:1: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
foo.c:41:4: error: expected expression before ')' token
if()
^
foo.c: At top level:
foo.c:67:1: warning: return type defaults to 'int' [enabled by default]
main()
^
foo.c: In function 'main':
foo.c:79:2: error: incompatible types when assigning to type 'int[9][9]' from type 'int'
a=temp-'0';
^
foo.c:73:16: warning: unused variable 'j' [-Wunused-variable]
int i=0,temp=0,j;
^
foo.c:73:9: warning: unused variable 'temp' [-Wunused-variable]
int i=0,temp=0,j;
^