whats the diffrence...???
please say QUICKLY AND FAST...
WILL NARK BRAINLIEST..☆☆☆
Attachments:

Answers
Answered by
1
The major difference between breakand 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.
void exit(int return_code);
◆_●
sarazeb8989:
It's not maas allah
Answered by
2
Usually a non-zero error status indicates that the program ended abnormally.
The value of return_code is returned to the calling process, so the success or failure of the program can be tested by another program that uses this one as a sub-process. Conventionally, a return value of 0 signals that all is well; non-zero values usually signal abnormal situations. The exit() calls fclose for each open output file, to flush out any buffered output.
Similar questions