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;
    while (k <= 5)
    {
    printf("Executed In while loop\n");
    k++;
    }

    }
    1. 3
    2. 4
    3. 5
    4. 6
    5. None of these
Correct Option: D

6



Your comments will be displayed only after manual approval.