Vidyalelo
C++ Programming · Q47

File Handling in C++

Programming · C++ Programming · question 47

Q47

What is the use of ios::trunc mode?

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
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board