File close | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

File close

What happens when a file is not closed or improperly closed?? Thanks in advance.

11th Jun 2017, 3:16 PM
Rajkamal A V K
Rajkamal A V K - avatar
1 ответ
+ 1
Your app will use more memory, since the file will still be opened and be in RAM. At times, this can cause memory leaks.
11th Jun 2017, 4:54 PM
Hassie
Hassie - avatar