fork(7) download
  1. #include <stdio.h>
  2.  
  3. #define FALSE 0
  4.  
  5. #define TRUE1 !FALSE
  6. #define TRUE2 1
  7.  
  8. int main(void) {
  9.  
  10. if (5 == TRUE1) {
  11. printf("1a\n");
  12. }
  13.  
  14. if (5 == TRUE2) {
  15. printf("2a\n");
  16. }
  17.  
  18. if (0 == TRUE1) {
  19. printf("1b\n");
  20. }
  21.  
  22. if (0 == TRUE2) {
  23. printf("2b\n");
  24. }
  25.  
  26. if (1 == TRUE1) {
  27. printf("1c\n");
  28. }
  29.  
  30. if (1 == TRUE2) {
  31. printf("2c\n");
  32. }
  33.  
  34. // your code goes here
  35. return 0;
  36. }
  37.  
Success #stdin #stdout 0s 2156KB
stdin
Standard input is empty
stdout
1c
2c