fork(5) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int value = 12345;
  5. char data[16];
  6. sprintf(data, "%x", value);
  7. printf("%s\n", data);
  8. return 0;
  9. }
Success #stdin #stdout 0.01s 1720KB
stdin
Standard input is empty
stdout
3039