You are not logged in.
Pages:: 1
#1 2015-09-14 04:17:50
Determine Output:
C Programming Quizzes C Language Operators And Expressions
Directions:
Determine output:
Question:
void main()
{
int i=0, j=1, k=2, m;
m = i++ || j++ || k++;
printf("%d %d %d %d", m, i, j, k);
}
Option A):
1 1 2 2
Option B):
0 1 2 2
Option C):
0 1 2 3
Option D):
1 1 2 3
Correct Answer is Option A):
1 1 2 2
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-09-14 04:17:50
- Advertisement
- Ads By Google
Re: Determine Output:
\n
Pages:: 1