Computer Science, asked by sheikhheena1424447, 2 months ago

difference between break and exit statement​

Answers

Answered by sumashani1983
1

Answer:

The major difference between break and exit() is that break is a keyword, which causes an immediate exit from the switch or loop ( for , while or do ), while exit() is a standard library function, which terminates program execution when it is called. ... break is a keyword in C. exit() is a standard library function.

Answered by asmaanika377
0

Answer:

Explanation:

The basic difference is that in break if the condition is fulfilled and written break it will immediately stop there it will not execute further. But in exist statement it goes until the condition is done

Similar questions