As we know that:-
exit()
performs following operations.
- Flushes unwritten buffered data.
- Closes all open files.
- Removes temporary files.
- Returns an integer exit status to the operating system.
And
abort()
may not close opened files. It may also not delete temporary files and may not flush stream buffer. Also, it does not call functions registered with atexit().
Source:- https://www.geeksforgeeks.org/understanding-exit-abort-and-assert/
So my question is What happens when a program terminates without these two functions (normally)?
I hope you got my question...