1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <stdlib.h> #include <stdio.h> #include <string.h> int main() { char s[] = "abcdef"; if(s == strrev(s)) printf("palindrom\n"); else printf("not palindrom\n"); return 0; }
1 2
In function `main': undefined reference to `strrev'