prog.c: In function ‘reverse’:
prog.c:9:4: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
gets(arr);
^~~~
prog.c: In function ‘revchars’:
prog.c:14:2: warning: implicit declaration of function ‘strrev’ [-Wimplicit-function-declaration]
strrev(arr);
^~~~~~
/home/PEeIjU/ccN1CjKG.o: In function `reverse':
prog.c:(.text+0x17): warning: the `gets' function is dangerous and should not be used.
prog.c:(.text+0x21): undefined reference to `strrev'
/home/PEeIjU/ccN1CjKG.o: In function `revchars':
prog.c:(.text+0x47): undefined reference to `strrev'
collect2: error: ld returned 1 exit status