[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

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);
}

A10

B10 11 12 .....100

C10 20 30 40 ..... 110

D100

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!