G

Geetam • 6.04K Points
Tutor III

Q. What will be the output of the following C code?

Code:
#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

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics