The correct choice is (d) if disk fills up while write is in progress and if the file size exceeds
To explain I would say: write system call returns the number of characters written. However, it will return -1 if if disk fills up while write is in progress or if the file size exceeds the system’s limit.