What is the output of this C code?

			  		

Loading

โœช Choose the correct option.

What is the output of this C code?


#include
int main()
{
short int i;
scanf("%hd", &i);
printf("%hd", i); return 0;
}

A. Compilation error
B. Undefined behavior
C. Whatever user types
D. None of these