Page 1 of 1

What is the use of ios::trunc mode?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
a) To open a file in input mode
b) To open a file in output mode
c) To truncate an existing file to half
d) To truncate an existing file to zero