Back To C++ Loops Index
break statement results in termination of loop (while loop in the code given below)
//program to demonstrate break statement in while loop #include
#include
void main() { int i=0; clrscr(); while(i<10) { if(i==5) { break; } cout<