adspace


What is a binary file? List the merits and demerits of the binary file usagein C++.

Answer Posted / Ravishankar

A binary file is a data file that stores information using a series of bytes, unlike text files which store human-readable characters. In C++, binary files are useful for storing complex data structures such as arrays or objects, as they can preserve the original structure of the data. Advantages include faster access times and compact storage size. Disadvantages include platform dependence (binary files may not be portable across different operating systems) and lack of human-readability.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

daily Routine of father

1492


What character terminates all character array strings a) b) . c) END

1403


Can union be self referenced?

1279


What is the latest version on c++?

1217


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1172