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