What's the problem ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
+ 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