foo.c: In function 'hs':
foo.c:21:6: warning: assignment makes integer from pointer without a cast [enabled by default]
hh[a]=m;
^
foo.c: In function 'add':
foo.c:38:5: error: invalid operands to binary / (have 'int *' and 'int')
if(m/n>0)
^
foo.c:40:4: error: invalid operands to binary / (have 'int *' and 'int')
m=m/n+m;
^
foo.c:41:4: error: invalid operands to binary % (have 'int *' and 'int')
m=m%n;
^
foo.c: In function 'pdhw':
foo.c:50:5: warning: unused variable 'x' [-Wunused-variable]
int x=1;
^
foo.c: In function 'main':
foo.c:63:1: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[100]' [-Wformat=]
scanf("%d%s",&n,&mm);
^