Single Choice Not Set

QChoose the correct output for the following program.

#include<stdio.h>
void main()
{
   int a=10, b=11, c=13, d;
   d = (a=c, b+=a, c=a+b+c);
   printf("%d %d %d %d", d, a, b, c);
}

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

Choose the Best Option

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

  • A 50, 13, 11, 13
  • B 50, 13, 24, 50
  • C 50, 13, 24, 13
  • D 13, 10, 24, 50
Correct Answer

Explanation

50, 13, 24, 50

Share This Question

Challenge a friend or share with your study group.