Altimetrik interview question

Programming on file operation