Single Choice Not Set

QWhat is the output of this C code?

#include <stdio.h>
 void main()
    {
        int k = 8;
        int x = 0 == 1 && k++;
        printf("%d %d\n", x, k);
    }

ID: #1186 Operators and Enums in C Language 5,291 views
Question Info
#1186Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

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

  • A 0 9
  • B 0 8
  • C 1 9
  • D 1 8
Correct Answer

Explanation

Option B

Share This Question

Challenge a friend or share with your study group.