+ 1

What's the problem ??

#include <stdio.h> #include <string.h> int main() { char chaine[50]; scanf("%s",chaine); printf("%s",strrev(chaine)); return 0; }

28th Nov 2020, 8:37 PM
Mugiwara boy
Mugiwara boy - avatar
1 Resposta
+ 3
strrev is a non-standard function. It's not included in the standardized C language and isn't available in the SL playground. You can implement a reverse function yourself though.
28th Nov 2020, 9:04 PM
ChaoticDawg
ChaoticDawg - avatar