Q. What is the use of truncate() method in file? (Solved)
1. truncates the file size
2. deletes the content of the file
3. deletes the file size
4. none of the mentioned
- a. truncates the file size
1. truncates the file size
2. deletes the content of the file
3. deletes the file size
4. none of the mentioned