1.

Mention the types of files. Explain anyone.

Answer»

The text file and binary file are the two types of files in C++.

Text file:

A text file also called a ASCII file is a stream of characters that can be sequentially processed in forward direction by the computer. In text files, each line of text end with a EOL (End of line) character and each file ends with a special character called the EOF (End of file). The file can be edited using text editors like C++ editor, notepad, vi editors in UNIX.



Discussion

No Comment Found

Related InterviewSolutions