1.

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» The correct option is (c) close the file descriptor f

Easiest explanation - When a file descriptor is passed as an argument to os.close() it will be closed.


Discussion

No Comment Found