I used strrev() to reverse a string ..
.. its showing the following errorCode:# include <stdio.h> # include <string.h> int main (void) { char str[50]; fputs("enter",stdout); fgets(str, sizeof(str),stdin); strrev(str); fputs(str,stdout); }
PHP Code:
/tmp/cc6O6bIr.o: In function `main':
reversew.c:(.text+0x62): undefined reference to `Strrev'
collect2: ld returned 1 exit status