Vidyalelo
C Programming · Q211

C Fundamentals

Programming · C Programming · question 211

Q211

What will be the output of the following C code? #include int main() int y = 10000; int y = 34; printf("Hello World! %d ", y); return 0;

A.
Compile time error
Answer
B.
Hello World! 34
C.
Hello World! 1000
D.
Hello World! followed by a junk value

Answer: Option A

Solution

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