fork(2) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char hoge = (1<<7) | (1<<3);
  5. char poyo = (hoge >> 4) | 0x80;
  6. printf("%d%d%d%d%d%d%d%d\n", !!(poyo&0x80), !!(poyo&0x40), !!(poyo&0x20), !!(poyo&0x10), !!(poyo&0x08), !!(poyo&0x04), !!(poyo&0x02), !!(poyo&0x01));
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 2160KB
stdin
Standard input is empty
stdout
11111000