Vidyalelo
C Programming · Q277

File Input Output

Programming · C Programming · question 277

Q277

What will be the output of the following C code? #include int main() char *n; scanf("%s", n); return 0;

A.
Compilation error
B.
Undefined behavior
Answer
C.
Nothing
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board