What will be the output of the following C code?
#include <stdio.h>
void main()
{
int n;
scanf("%d", n);
printf("%d", n);
}
#include <stdio.h>
void main()
{
int n;
scanf("%d", n);
printf("%d", n);
}A. Prints the number that was entered
B. Segmentation fault
C. Nothing
D. Varies
Answer: Option C

Join The Discussion