C aptitiude question:
Predict the output:
int main()
{
int i = 0;
while(;;)
{
printf("c prog \n");
if (i == 2)
break;
i++;
}
return 0;
}


Posted on by