How many times while loop condition is tested in the following C code snippets, if i is initialized to 0 in both the cases?

while (i < n)

         i++;

    ————-

    do

         i++;

    while (i <= n);
2 Likes