MCQ Single Best Answer Not Set

Q What is the output of this C code?
    int main()
    {
        int x = 1, y = 0, z = 3;
        x > y ? printf("%d", z) : return z;
    }

ID: #1243 Operators and Enums in C Language 689 views
Question Info
#1243Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

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

  • A 3
  • B 1
  • C Compile time error
  • D Run time error
Correct Answer: Option C

Explanation

Option C

Share This Question

Challenge a friend or share with your study group.