MCQ Single Best Answer Not Set

QWhat is the output of this C code?
    void main()
    {
        int x = 1, y = 0, z = 5;
        int a = x && y || z++;
        printf("%d", z);
    }

ID: #1256 Operators and Enums in C Language 2,606 views
Question Info
#1256Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

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

  • A 6
  • B 5
  • D Varies
Correct Answer: Option A

Explanation

Option A

Share This Question

Challenge a friend or share with your study group.