fork(12) download
  1. #include <inttypes.h>
  2. #include <stdio.h>
  3.  
  4. inline uint32_t combine(uint32_t x, uint32_t y) {
  5. return (y & 0xffffff00) | (x & 0xff);
  6. }
  7.  
  8. main() {
  9. printf("%" PRIx32 "\n", combine(0x89abcdef, 0x76543210));
  10. return 0;
  11. }
Success #stdin #stdout 0.02s 1720KB
stdin
Standard input is empty
stdout
765432ef