Reverse a string


Submit solution

Points: 10
Time limit: 8.0s
Memory limit: 64M

Author:
Problem type
Allowed languages
C

Problem Statement

Read a character array S. Construct the reversed string and display the reversed string.

Sample Input 1

Hello

Sample Output 1

olleH

Sample Input 2

Computer Programming

Sample Output 2

gnimmargorP retupmoC


Comments

There are no comments at the moment.