fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. if (10 == 10)
  5. {
  6. printf("block 1 is executed.\n");
  7. }
  8. if (3<1)
  9. {
  10. printf("block 2 is executed.\n");
  11. }
  12. int a= 10;
  13. if (a%2==0)
  14. {
  15. printf("block 3 is executed. \n");
  16. }
  17. return 0;
  18. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
block 1 is executed.
block 3 is executed.