Q. Describe the purpose of the open() and close() operations.
Answer:
- The open() operation notifies the system that the named file is about to become active.
- The close() operation notifies the system that the named file is no longer in active use by the user who issued the close operation.