fork(1) download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. main()
  5. {
  6. int ergebnis;
  7. char eingabe[80];
  8. gets(eingabe);
  9. printf(eingabe);
  10. ergebnis=atoi(eingabe);
  11. printf("%i",ergebnis);
  12. }
Success #stdin #stdout 0s 10320KB
stdin
123
stdout
123123