1.

Mention the types of file. Explain.

Answer»

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

Text file:

A text file also called as ASCII file is a stream of characters that can be sequentially processed in a 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 editor in UNIX.



Discussion

No Comment Found