fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i=0;
  5. switch(i)
  6. {
  7. case '0' : printf("hello");
  8. break;
  9. case '1' : printf("world");
  10. break;
  11. default : printf("hello world");
  12. }
  13. // your code goes here
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
hello world