fork(2) download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int i;
  6. char c[100];
  7.  
  8. fgets(c, 100, stdin);
  9.  
  10. for (i = 0; c[i] != '\0'; i++)
  11. printf("%d ", c[i]);
  12.  
  13. putchar('\n');
  14.  
  15. return 0;
  16. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout

Standard output is empty