Interview Questions and Answers

How many times "IndiaBIX" is get printed?

#include
int main()
{
    int x;
    for(x=-1; x<=10; x++)
    {
        if(x < 5)
            continue;
        else
            break;
        printf("IndiaBIX");
    }
    return 0;
}

A   Infinite times

B   11 times

C   0 times

D   10 times


Correct Option - C

Explaination


Report this question

Write Your Comments
!You need to be logged in to post comment

Share This Page -