Sail E0 Webinar
Question
Choose the correct output for the following program.
#include
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);
}
Options:
A .  50, 13, 11, 13
B .  50, 13, 24, 50
C .  13, 10, 24, 50
D .  50, 13, 24, 13
E .  13, 13, 24, 13
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers