πŸ“Š C Programming
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) Compile time error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
226
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Geetam
Publisher
πŸ“ˆ
93%
Success Rate