Multiple choice

Which of the following allows a user to erase the content of a file but keep its attributes?

  1. Deletion

  2. Creating a file

  3. Truncating a file

  4. Both 1 and 2

  5. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This function allows all attributes to remain unchanged except the length. The lenght of a file can be reset to zero and its space is released.