fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. unsigned long m = 0x401e000000000000;
  5. unsigned long f = m & (0xFFFFFFFFFFFFF); // Expect value = 0xe000000000000.
  6.  
  7. printf("Result f = 0x%0lX\n", f);
  8.  
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5416KB
stdin
Standard input is empty
stdout
Result f = 0xE000000000000