Page 1 of 1

What will be the output of the following C code?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
#include <stdio.h> int main() { int y = 10000; int y = 34; printf("Hello World! %d\n", y); return 0; }
a) Compile time error
b) Hello World! 34
c) Hello World! 1000
d) Hello World! followed by a junk value