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

No



Your comments will be displayed only after manual approval.