The break statement terminates the looping operation and transfers the control to the statement immediately following the loop.
int main(){
int a = 1;
while (a <= 5){
printf("one\\n");
a++;
break;
}
}
On the other hand, the continue statement is used to skip the rest of the loop body and directly transfer the control to the beginning of the loop.