#include<stdio.h>void main(){ int a=100; if(a>100) printf("M.S. Dhoni"); else if(a>20) printf("M.E.K Hussey"); else if(a>30) printf("A.B. de villiers");} Select one:
Standard input is empty
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: ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!