Introduction to computer questions and answers , learn online c language MCQs, competency based interview questions with FAQs based online test prep. These frequently asked questions has multiple choice questions (MCQs), c language quiz questions and answers as evaluating following code <code>for(i=0; i<7; ++i) {<br> for (j=0; j<i; ++j ) <br> printf ("%d ", i*j )} </code>, ratio of printf statement execution in first call is, with choices 7, 1, 0, and 6 for online certifications and degrees. Free FAQ, situational interview questions are to learn introduction to computer questions and answers : Q&A online with MCQs to practice test questions with answers.

MCQ: Evaluating following code <code>for(i=0; i<7; ++i) {<br> for (j=0; j<i; ++j ) <br> printf ("%d ", i*j )} </code>, ratio of printf statement execution in first call is

1. 7
2. 1
3. 0
4. 6

C

MCQ: By evaluating following statements where x =3, y= 5 and z = 2:<code><br> x *= y+z; <br> y /= 2*z+1; <br> z += x; </code> , values of x,y and z are

1. x=21, y=1, z=23
2. x=1, y=21, z=23
3. x=1, y=23, z=21
4. x=21, y=23, z=1

A

MCQ: Evaluating following code <code>for(i=0; i<7; ++i) {<br> for (j=0; j<i; ++j ) <br> printf ("%d ", i*j )} </code>, ratio of printf statement execution in second call is

1. 7
2. 1
3. 0
4. 6

B

MCQ: Evaluating following code <code>for(i=0; i<7; ++i) {<br> for (j=0; j<i; ++j ) <br> printf ("%d ", i*j )} </code>, last value displayed is

1. 30
2. 21
3. 20
4. 12

A

MCQ: By evaluating following statements where j = 5 and k = 2:<code><br> n=j - ++k; <br> m= j-- + k--; <br> p = k + j; </code> , values of n,m and p are

1. n=2, p=8, m=6
2. n=6, p=2, m=8
3. n=8, p=2, m=6
4. n=2, p=6, m=8

D