Which mode is used to open a file for writing in C++?
A. read
B. append
C. write
D. update
Answer: Option C
A. read
B. append
C. write
D. update
Answer: Option C
Which header file is required for file handling in C++?
A. <iostream>
B. <fstream>
C. <file>
D. <filestream>
Join The Discussion