C Programming :: Loop Control - Discussion
Home > C Programming > Loop Control > MCQs Questions Discussion
44 / 61
If nstart = 10, n = 0 and nstop = 100 what should be the output of the following C program fragment?
for (i = 0; n <= nstop; i++)
{
n = nstart + i * nstart;
printf(''%d", n);
}
for (i = 0; n <= nstop; i++)
{
n = nstart + i * nstart;
printf(''%d", n);
}
A10
B10 11 12 .....100
C10 20 30 40 ..... 110
D100
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!