Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
    int main()
    {
        printf("Hello World! %d \n", x);
        return 0;
    }

A. Hello World! x;

B. Hello World! followed by a junk value

C. Compile time error

D. Hello World!

Answer: Option C


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals