What is the effect of executing the following system call on the file "test.txt"?
open("test.txt", O_TRUNC)
Correct Answer:
If test.txt exists, the file is truncated to 0 bytes before returning.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More System Programming MCQ Questions