Pham Quỳnh Anh
New member
What will be the output of the following C code?
A. Compilation error
B. Somegarbage value
C. Whatever user types
D. Depends on the standard
Code:
#include <stdio.h>
int main()
{
short int i;
scanf("%*hd", &i);
printf("%hd", i);
return 0;
}
B. Somegarbage value
C. Whatever user types
D. Depends on the standard