fork download
  1. #include<stdio.h>
  2. void main(){
  3. int a=100;
  4. if(a>100)
  5. printf("M.S. Dhoni");
  6. else if(a>20)
  7. printf("M.E.K Hussey");
  8. else if(a>30)
  9. printf("A.B. de villiers");
  10. }
  11.  
  12. Select one:
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:2:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main(){
      ^
prog.c:12:1: error: unknown type name 'Select'
 Select one:
 ^
prog.c:12:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
 Select one:
           ^
stdout
Standard output is empty