Qmark: 1
Total Marks: 50
Vol: 8
Font: Microsoft Sans Serif
Size: 10
Time Left:44:38
Multiple Choices
(Choose 1 answer)
What is the output when the sample code below is executed?
int i=0, j=0;
for(i=1; i<10, j<3; i *= 2) {
printf("%d ", j++);
}
printf("%d %d", i, j);
A. 012384
B. 0 1 2 394
C. 012 83
D. 0 1 2 3 18 4