Home » C Programming » Decision Making » Question
  1. What will be the output of the following C code?
     #include <stdio.h>
    void main()
    {
    int p = 6;
    if (p < 2);
    printf("Hey...");

    }
    1. 2
    2. 6
    3. Compilation Error
    4. Hello
    5. None of these
Correct Option: D

Hello



Your comments will be displayed only after manual approval.