hi,

i need output like this....


for:Example:
If the input file is input.txt, and following are its contents:
19 1 3 4 18

After reading input from the file, call to print_list should display:
19 → 1 → 3 → 4 → 18

Call to reverse_llist and then calling print_list should print the following:
18 → 4 → 3 → 1 → 19



so where i want to modify in my program..........
help me!!!!!!!!!!!!!!!