You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-09-14 06:00:15
Expressions Executed Code:
C Programming Quizzes C Language Operators And Expressions
Directions:
void main()
{
int a=10, b;
b = a++ + ++a;
printf("%d %d %d %d", b, a++, a, ++a);
}
Question:
what will be the output when following code is executed?
Option A):
22 13 13 13
Option B):
22 11 11 11
Option C):
12 10 11 13
Option D):
22 12 12 13
Correct Answer is Option A):
22 13 13 13
Failure is the first step towards seccess.
Offline
2015-09-14 06:00:15
- Advertisement
- Ads By Google
Re: Expressions Executed Code:
Pages:: 1