Which of the following mode argument is used to truncate?

Answer is w but what is truncate in c language?

6/29/2019 11:26:07 AM

Tandale Shubham

1 Answer

New Answer


I think this was a C language challenge quiz question. I think it is about the mode argument for the fopen function where write(w) mode may overwrite existing data and truncate it. But I agree that the question is not clear at all.