Suppose we have file(ps), dont know how many records are there. move half of the records to 2 files. how can we do?

Submitted by: Administrator
Question confirmation: Move half-half records to 2 diff. files.

Precondition: You must be knowing how to read record.
1. Read file from top.
2. Move each record in alternative file.
Submitted by: Administrator

Read Online Design Patterns Job Interview Questions And Answers