What is the use of ios::trunc mode?
Posted: Wed Jul 13, 2022 7:53 pm
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
b) To open a file in output mode
c) To truncate an existing file to half
d) To truncate an existing file to zero