A string is a sequence of characters, usually text. A string can be represented in a text file as a word list or a character array (or any other type of data structure).
Reversing is the process of transforming information from its normal order to its opposite order.
String reversal is a way of reversing the order of characters in a string. This means that instead of "aabbccc", you would have "cccbbaa".
A string reversal is a process where you take a given input and reverse it. For example, if you wanted to take the string “Hello world!” and reverse it, you would it would become: “dlrow olleH”.
Input string you want to reverse below;