Introduction

Learn how to perform input and output operations on a file.

Why are files needed?

Often it becomes necessary to store data in a file rather than storing it in memory or displaying it on screen — for example, when we need to store data offline or transfer it from one computer to another, etc. At ...