Examveda

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: Option D


Join The Discussion

Related Questions on File Handling in C plus plus