Saved Bookmarks
| 1. |
How many time the following for loop will execute? Justify.for(i = 0; ; i ++) { if(i > 5) cout<<“continue”; else cout<<“over”; } |
|
Answer» Here the loop becomes infinite because the check condition is missing. |
|