Vidyalelo
C Programming · Q165

File Input Output

Programming · C Programming · question 165

Q165

What will be the output of the following C code? #include void main() int n; scanf("%d", n); printf("%d", n);

A.
Prints the number that was entered
B.
Segmentation fault
C.
Nothing
Answer
D.
Varies

Answer: Option C

Solution

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