Home » C Programming » Decision Making » Question
  1. What will be the output of the following C code?
    #include <stdio.h<
    int n;
    void main()
    {
    if (n)
    printf("Hey");
    else
    printf("How are u?");
    }
    1. Compilation Error
    2. Hey
    3. How are u?
    4. Runtime Error
    5. None of these
Correct Option: C

How are u?



Your comments will be displayed only after manual approval.