1.

How many time the following for loop will execute? Justify.for(i = 0; ; i ++){if(>5)cout<<"continue”; else cout<<"over";}

Answer»

Here the loop becomes infinite because the check condition is missing.



Discussion

No Comment Found

Related InterviewSolutions