prog.c: In function ‘subtract’:
prog.c:10: warning: implicit declaration of function ‘strlen’
prog.c:10: warning: incompatible implicit declaration of built-in function ‘strlen’
prog.c:23: warning: implicit declaration of function ‘strcpy’
prog.c:23: warning: incompatible implicit declaration of built-in function ‘strcpy’
prog.c:34: warning: implicit declaration of function ‘printf’
prog.c:34: warning: incompatible implicit declaration of built-in function ‘printf’
prog.c:54: warning: incompatible implicit declaration of built-in function ‘printf’
prog.c:56: error: ‘else’ without a previous ‘if’
prog.c:56: warning: incompatible implicit declaration of built-in function ‘printf’
prog.c:8: warning: unused variable ‘j’
prog.c:7: warning: unused variable ‘m’
prog.c: At top level:
prog.c:57: error: expected identifier or ‘(’ before ‘}’ token
prog.c:58: error: ‘k’ undeclared here (not in a function)
prog.c:58: warning: data definition has no type or storage class
prog.c:58: warning: type defaults to ‘int’ in declaration of ‘arr’
prog.c:60: error: expected declaration specifiers or ‘...’ before string constant
prog.c:60: error: expected declaration specifiers or ‘...’ before ‘arr’
prog.c:60: warning: data definition has no type or storage class
prog.c:60: warning: type defaults to ‘int’ in declaration of ‘printf’
prog.c:60: warning: conflicting types for built-in function ‘printf’
prog.c:62: error: expected identifier or ‘(’ before ‘for’
prog.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘>=’ token
prog.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘--’ token
prog.c:65: error: expected identifier or ‘(’ before ‘return’
prog.c:66: error: expected identifier or ‘(’ before ‘}’ token
prog.c: In function ‘main’:
prog.c:72: warning: implicit declaration of function ‘scanf’
prog.c:72: warning: incompatible implicit declaration of built-in function ‘scanf’
prog.c:71: warning: unused variable ‘c’