State whether the following statements are true or false:
(a) A file is a collection of records.
(b) The file opened in ofstream is available for writing.
(c) The output mode of opening a file deletes the contents, if present in
the file.
(d) The close ( ) function is used to close a file.
(e) The statement
outfile.write ((char*) & obj, sizeof obj);
writes only data in obj to outfile.
(f) The ios::ate mode allows us to write data at the end of the file only.
(g) We can add data to an existing file by opening in append mode.
(h) The data written to a file with write ( ) function can be read with the
get ( ) function.
Answers
Answered by
0
Answer:
Hlo guys how are
Hope you all are good enjoying your life I am new on brainly I am glad to have such friends like u
#Support me #f.o.l..l.w me and get more points and enjoy your self
Similar questions
English,
5 months ago
History,
5 months ago
Biology,
10 months ago
India Languages,
10 months ago
Math,
1 year ago