1. FILE HANDLING IN C++ 2. Introduction All programs we looked earlier: input data from the keyboard. output data to the screen. Difficult to handle large…