Q. Explain how many file objects would you need to create to manage the following situations:

(a) To process three files sequentially

(b) To merge two sorted files into a third file.


Answer =


(a) One object are needed.

(b) Three object are needed.

4 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. I think the answer for part (a) should be one. Since we are processing the files sequentially the same file object can also be used multiple times.

    ReplyDelete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post