fork download
  1. #include <stdio.h>
  2.  
  3. void get_out_char()
  4. {
  5. char c;
  6. scanf("%c",&c);
  7. if (c != '\n')
  8. {
  9. get_out_char();
  10. putchar(c);
  11. }
  12. }
  13.  
  14. int main()
  15. {
  16. get_out_char();
  17. }
  18.  
Success #stdin #stdout 0s 5504KB
stdin
0 1 23  45 678   90a bcde    fghi
stdout
ihgf    edcb a09   876 54  32 1 0