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

Loading

โœช Choose the correct option.

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

#include  
int main() {
enum status { low=10, medium=20,high=30};
enum status rain;
rain = medium;
if(rain==20)
rain++;
printf("rain=%d ",rain);
return 0;
}

A. 20
B. 21
C. 1
D. Garbage value