+ 1

How to reverse a string output in C lang.?

For e.g. input = "1101" Output = 1011 Or hello should change to "olleh" In C lang. & C++

27th Dec 2019, 10:41 AM
Ravi Mishra
Ravi Mishra - avatar
3 ответов
+ 2
Okk... I'll try
28th Dec 2019, 4:01 AM
Ravi Mishra
Ravi Mishra - avatar
+ 1
Create a character array and use a for loop to achieve your result.
27th Dec 2019, 11:10 AM
Avinesh
Avinesh - avatar