ya it's neccessary to close the file frm user point of view
becoz on closing we explicitly force the buffer to save data in to the
disk other wise sometimes data loss may be occur becoz wht we perform the
operation that operation is performed on buffer not directly to disk so it's neccessary.
and prog for read and write i send u after some time becoz it will take
lot's of time on typing the code (sorry)...
Leave a comment: