What will be the output of the following program on GCC?

		
					

Loading

Choose the correct option.

What will be the output of the following program on GCC?

#include 
void main(){
int a=100;
if(a>10)
printf("Welcome ");
else if(a>20)
printf("Let us ");
else if(a>30)
printf("c ");
}

A. Welcome
B. Welcome
Let us 
c
C. c
D. compiler error

Leave a Comment