+ 1
Why this CPP code is not showing output?
I am doing string reverse using character array. Everything in this code is fine but it does not show output. If any know please answer.. https://code.sololearn.com/cRbE164Jwtev/?ref=app
2 Answers
+ 2
Please show your code here so that we can help you
https://www.sololearn.com/post/75089/?ref=app
+ 2
Yeah I got it I should have decreased I by 2 and add '\0' to rev string...
Thanks..