Predict the output of following “C” code:

			  		

Loading

โœช Choose the correct option.

Predict the output of following “C” code:


main()
{
int var=20;
printf("%d,",var);
{
int var=30;
printf("%d",var);
}
}

A. Error
B. 20,30
C. 20,20
D. Garbage value