prog.c: In function 'Reverse':
prog.c:2:2: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
int j = 1, len = strlen(s);
^
prog.c:2:19: warning: incompatible implicit declaration of built-in function 'strlen'
int j = 1, len = strlen(s);
^
prog.c:3:2: warning: statement with no effect [-Wunused-value]
for (j; j<= len; j++) {
^
prog.c:4:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%c", *(s+len-j));
^
prog.c:4:3: warning: incompatible implicit declaration of built-in function 'printf'
prog.c:6:2: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
puts("\n");
^
prog.c: In function 'ReversW':
prog.c:10:19: warning: incompatible implicit declaration of built-in function 'strlen'
int j = 1, len = strlen(s);
^
prog.c:12:2: warning: statement with no effect [-Wunused-value]
for (j; j<= len; j++) {
^
prog.c:15:2: warning: incompatible implicit declaration of built-in function 'printf'
printf("%s\n", out);
^
/usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: error: ld returned 1 exit status