I’m using Dev-cpp running on Windows Platform which shows no error and works fine with the strrev() function but when i run my program here, it gives compile time error with the following message “undefined refeence to strrev”.
Source: Stackoverflow post
Hope that helps.
There is no itoa() and strrev() in Codecef and SPOJ. Write your own function for reversing a string. Else it will show compilation error.