Single Choice Not Set

QIdentify the correct output of the following code:

#include<stdio.h> 
void main()
{
   int w=10, x=5, y=3, z=3;
   if( (w < x ) && (y=z++) )
      printf("%d %d %d %d", w, x, y, z);
   else
      printf("%d %d %d %d", w, x, y, z);
}

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

Choose the Best Option

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

  • A 10 5 4 4 ✔ ✖
  • B 10 5 4 3 ✔ ✖
  • C 10 5 3 3 ✔ ✖
  • D 10 5 3 4 ✔ ✖
Correct Answer

Explanation

10 5 3 3
Today: 0 answered · 0 correct
Save progress
Free account

Want to remember what you got wrong?

Create a free account in seconds to track your score, revisit mistakes and continue Programming Language where you left off.

  • Save your progress & streak
  • Topic-wise quizzes & scores
  • Bookmark tricky questions
  • Printable MCQ sets
Practice smarterFree account · save progress
Sign up free

Share This Question

Challenge a friend or share with your study group.