Linux TAC command
On Unix-like operating systems, the
The input is an ASCII text without any restrictions.
Output for Sample Input
Hints and Guide
Because of the length of input line was not specified, the best solution is to create a linked list to store the characters of the current line. Instead of reading individual characters, we recommend to use a buffer filled with the help of the
Printing the output in reverse order, line by line, can be easily done with recursion.
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|