+ 1
How can i do string reverse without using string method or any loop in C language ?
String Reverse
2 ответов
+ 14
1 line recursion ,
easy , just take String & its k=length-1 as parameters & return character at index k + method(String,--k) .... work till k becomes 0 at last
//I already made that in java , U can search for my answers , hope U will find it ... else I telled U idea ... just make it