Single Choice Not Set

QWhat is the output of this C code?
    int main()
    {
        int x = -2;
        if (!0 == 1)
            printf("yes\n");
        else
            printf("no\n");
    }

ID: #1224 Operators and Enums in C Language 1,716 views
Question Info
#1224Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Yes
  • B No
  • C Run time error
  • D Undefined
Correct Answer

Explanation

Option A

Share This Question

Challenge a friend or share with your study group.