What does os.close(f) do?
A. terminate the process f
B. terminate the process f if f is not responding
C. close the file descriptor f
D. return an integer telling how close the file pointer is to the end of file
Answer:A
What does os.close(f) do?
A. terminate the process f B. terminate the process f if f is not responding C. close the file descriptor f D. return an integer telling how close the file pointer is to the end of file
Explanation: When a file descriptor is passed as an argument to os.close() it will be closed.