answersLogoWhite

0

That depends on the type of file and what you mean by "empty". Generally, fopen() called on an existing file, with the "w" option instead of the "a" option will truncate the file to zero length. To delete a file completely is a different process. Function truncate is your friend.

User Avatar

Wiki User

16y ago

What else can I help you with?