prog.c: In function 'main':
prog.c:7:10: error: 'hi' undeclared (first use in this function)
strcat(hi,n1);
^
prog.c:7:10: note: each undeclared identifier is reported only once for each function it appears in
prog.c:8:10: warning: format '%c' expects argument of type 'int', but argument 2 has type 'char *' [-Wformat=]
printf("%c",n1);
^
prog.c:4:15: warning: unused variable 'n2' [-Wunused-variable]
char n1[50],n2[50];
^