Question Detail
ios::trunc is used for ?
- If the file is opened for output operations and it already existed, no action is taken.
- If the file is opened for output operations and it already existed, its previous content is deleted and replaced by the new one.
- If the file is opened for output operations and it already existed, then a new copy is created.
- None of above
Answer: Option B