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. Garbage value
B. Compilation Error
C. Runtime Error
D. Whatever user types
E. None of these
Answer» B. Compilation Error


Discussion

No Comment Found

Related MCQs