Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    int num1 = 5, num2 = 6;
    if (!num1 && num2)
    printf("Wrong\n");
    else
    printf("Right\n");
    }
    1. Runtime Error
    2. Undefined behaviour
    3. Compilation Error
    4. Wrong
    5. Right
Correct Option: E

Right



Your comments will be displayed only after manual approval.