C++ File Handling Quiz - Question 6

Last Updated :
Discuss
Comments

What is the use of ios::trunc mode?

To open a file in input mode

To open a file in output mode

To truncate an existing file to half

To truncate an existing file to zero

Share your thoughts in the comments
Article Tags :