String reversal using a single line of code in c
During a recent interview one of my friends was asked a question to reverse a string using only a single line of code.the string is already stored in a char variable. I tried using recursion by it never reduced to a single line of code.Could anyone help me with this.
String reversal using a single line of code in c
===

During a recent interview one of my friends was asked a question to reverse a string using only a single line of code.the string is already stored in a char variable. I tried using recursion by it never reduced to a single line of code.Could anyone help me with this.