Linux REV command
On Unix-like operating systems, the
The input is an ASCII text without any restrictions.
For each line of the input, the program must print one line containing the characters in reversed order.
Output for Sample Input
Hints and Guide
Instead of reading individual characters, we recommend to use a buffer filled with the help of the
One possible solution is available in: main.c.
Acknowledgement This work was supported by the construction EFOP-3.4.3-16-2016-00021. The project was supported by the European Union, co-financed by the European Social Fund.
|University of Debrecen; Faculty of Informatics; v. 03/01/2019|