fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. printf("%d: %d > %d\n", (int)sizeof(int), -31 / 4, -31 >> 2);
  5. printf("%d: %d > %d\n", (int)sizeof(int), 31 / 4, 31 >> 2);
  6. if ((-31/4) > (-31 >> 2))
  7. printf("Calvin");
  8. else if ((-31/4) < (-31 >> 2))
  9. printf("Hobbes");
  10. else
  11. printf("Calvin & Hobbes");
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
4: -7 > -8
4: 7 > 7
Calvin