How many times 'its a while loop' should be printed?

int main()
{
int i = 1 ;
i = i - 1 ;
while(i)
{
cout"its a while loop";
i++ ;
}
return 0;
}

Posted on by