What is the use of ios::trunc mode in C++?
Asked In: BPSC TRE 1.0Options
- A. To open a file in input mode
- B. To open a file in output mode
- C. To truncate an existing file to zero length
- D. More than one of the above
- E. None of the above
Quiz Practice:
C. To truncate an existing file to zero length