adplus-dvertising
frame-decoration

Question

How many times value of j is checked in the below code ?
#include 
    int main()
    {
        int j = 0;
        do {
            j++;
            printf("");
        } while (j < 5);
    }

a.

3

b.

4

c.

5

d.

1

Posted under C Programming

Answer: (c).5

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How many times value of j is checked in the below code ?