Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    int n = -7;
    if (!0 == 1)
    printf("Yes\n");
    else
    printf("No\n");
    }
    1. Compilation Error
    2. Runtime Error
    3. Garbage value
    4. Yes
    5. No
Correct Option: D

Yes



Your comments will be displayed only after manual approval.