adplus-dvertising
frame-decoration

Question

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

a.

truncates the file size

b.

deletes the content of the file

c.

deletes the file size

d.

none of the mentioned

Answer: (a).truncates the file size

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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