Do files get closed during an exception exit?
A fairly straightforward question. Two answers. One saying, “Yes.” The other saying, “No!” Both with significant upvotes. Who to believe? Let me attempt to clarify. Both answers have some truth to them, and it depends on what you mean by a file being closed. First, consider what is meant by closing a file from the … Read more