+ 1

Use <strrev> function

What does it mean??? The SoloLearn compiler doesn't work correctly or I'm doing mistake? See code example - "Extra-Terrestrials"

21st Sep 2020, 9:04 PM
Vladimir Kushner
Vladimir Kushner - avatar
5 Respostas
+ 4
I guess you missed the import statement! Just add this in the beginning: #include<string.h>
21st Sep 2020, 9:06 PM
Namit Jain
Namit Jain - avatar
+ 3
Vladimir Oo yaah You are right! It's not working! So now you can use a simple for loop to reverse the string! 😃
21st Sep 2020, 9:19 PM
Namit Jain
Namit Jain - avatar
+ 2
It doesn't help)
21st Sep 2020, 9:08 PM
Vladimir Kushner
Vladimir Kushner - avatar
+ 2
see my example carefully
21st Sep 2020, 9:09 PM
Vladimir Kushner
Vladimir Kushner - avatar