Computer Science, asked by arunkumarsarkar72, 2 months ago

differentiate between break and exit statement in c programming language? ​

Answers

Answered by XxflirtyqueenxX
0

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.

Hope it helps you

Answered by REHAN0412
0

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.

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

Explanation:

hope it's helpful

Similar questions