prog.c:8: warning: return type defaults to ‘int’
prog.c: In function ‘main’:
prog.c:14: warning: implicit declaration of function ‘binary’
prog.c:14: error: ‘keytab’ undeclared (first use in this function)
prog.c:14: error: (Each undeclared identifier is reported only once
prog.c:14: error: for each function it appears in.)
prog.c: At top level:
prog.c:23: warning: return type defaults to ‘int’
prog.c: In function ‘binary’:
prog.c:24: error: array type has incomplete element type
prog.c:33: warning: implicit declaration of function ‘strcmp’
prog.c: At top level:
prog.c:49: warning: missing braces around initializer
prog.c:49: warning: (near initialization for ‘keytab[0]’)
prog.c:62: warning: return type defaults to ‘int’
prog.c: In function ‘getword’:
prog.c:67: warning: implicit declaration of function ‘type’
prog.c:67: warning: implicit declaration of function ‘getch’
prog.c:77: warning: implicit declaration of function ‘ungetch’
prog.c: At top level:
prog.c:85: warning: return type defaults to ‘int’
prog.c: In function ‘type’:
prog.c:87: warning: suggest parentheses around && within ||