fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a = 0x2006;
  5. printf("OGF : %x\n", ((a >> 10) & 0x3f));
  6. printf("OCF : %x", (a & 0x3ff));
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 5264KB
stdin
Standard input is empty
stdout
OGF : 8
OCF : 6