You are not logged in.
Pages:: 1
#1 2015-09-14 05:51:29
C Language Operators And Expressions Correct Output:
C Programming Quizzes C Language Operators And Expressions
Directions:
Choose the correct output for the following program.
Question:
#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);
}
Option A):
50, 13, 24, 13
Option B):
50, 13, 11, 13
Option C):
13, 10, 24, 50
Option D):
50, 13, 24, 50
Correct Answer is Option D):
50, 13, 24, 50
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-09-14 05:51:29
- Advertisement
- Ads By Google
Re: C Language Operators And Expressions Correct Output:
\n