You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-09-15 04:11:28
Program Execution:
C Programming Quizzes C Language Control Structures
Directions:
What will be the value of i and j after execution of following program?
Question:
#include<stdio.h>
void main()
{
int i, j;
for(i=0,j=0;i<10,j<20;i++,j++){
printf("i=%d %t j=%d", i, j);
}
}
Option A):
19 19
Option B):
10 10
Option C):
10 20
Option D):
20 20
Correct Answer is Option A):
19 19
Failure is the first step towards seccess.
Offline
2015-09-15 04:11:28
- Advertisement
- Ads By Google
Re: Program Execution:
\n
Pages:: 1