1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
short int n;
scanf("%hd", &n);
printf("%hd", n);
return 0;
}

A. Whatever user types
B. Compilation Error
C. Undefined behavior
D. Runtime Error
E. None of these
Answer» B. Compilation Error


Discussion

No Comment Found

Related MCQs