Page 1 of 1

What is the use of truncate() method in file?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) truncates the file size
b) deletes the content of the file
c) deletes the file size
d) none of the mentioned