fork(3) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char c[] = "cat";
  5. for (int i = 0 ; i != 3 ; i++) {
  6. printf("\\x%02x", (unsigned)c[i]);
  7. }
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
\x63\x61\x74