Home » C Programming » Loops » Question
  1. How many times k value is checked in the following C code?
    #include <stdio.h>
    int main()
    {
    int k = 0;
    do {
    k++;
    printf("Executed in while loop\n");
    } while (k < 5);
    }
    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
Correct Option: E

5



Your comments will be displayed only after manual approval.