prog.c: In function ‘main’:
prog.c:5: error: ‘numOfChars’ undeclared (first use in this function)
prog.c:5: error: (Each undeclared identifier is reported only once
prog.c:5: error: for each function it appears in.)
prog.c:6: warning: precision used with ‘%n’ printf format
prog.c:6: warning: writing into constant object (argument 2)
prog.c:6: warning: format ‘%.n’ expects type ‘int *’, but argument 2 has type ‘char *’