Computer Science, asked by shreyaberry920, 9 months ago

Distinguish between BREAKand CONTINUE statements??.

Guys plz plz tell!

I'll mark yew as a BRAINLIEST​

Answers

Answered by bpushpita88
2

Explanation:

The major difference between break and continue statements in C language is that a break causes the innermost enclosing loop or switch to be exited immediately. Whereas, the continue statement causes the next iteration of the enclosing for , while , or do loop to begin.

hope it helps u dear ❤️❤️❤️

mark me as brainliest ❤️❤️❤️❤️

Answered by kabraarchita
1

Answer:

BREAK:

i. It terminates the execution of remaining iteration of the loop.

ii. 'break' resumes the control of the program to the end of loop enclosing that 'break'.

iii. It causes early termination of loop.

iv. 'break' stops the continuation of loop.

v. 'break' can be used with 'switch', 'label'.

CONTINUE:

i. It terminates only the current iteration of the loop.

ii. 'continue' resumes the control of the program to the next iteration of that loop enclosing 'continue'.

iii. It causes early execution of the next iteration.

iv. 'continue' do not stops the continuation of loop, it only stops the current iteration.

v. 'continue' can not be executed with 'switch' and 'labels'.

Hope it helps :)

Similar questions
Math, 1 year ago