fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int c;
  6.  
  7. while ((c = fgetc(stdin)) != EOF) {
  8. printf("%#x ", c);
  9. }
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0.01s 1680KB
stdin
abc
stdout
0x61 0x62 0x63