What is the difference between open () and close ()?
Answer:
open( ) |
close( ) |
It is a stand-alone in-built function used to open a file . |
It is an in-built function which is used along with the filehandle object to close a file. |
Syntax:
|
Syntax:
|