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'
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' [-Wreturn-type]
main()
^
foo.c: In function 'main':
foo.c:79:2: error: assignment to expression with array type
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;
^
foo.c:84:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^