Obviously file_put_contents() on line 2 does just wat it suggests it does. Also note that opening a file in create "c" or write "w" mode is enough to create a file. It is not necessary to close the file with fclose() because this will be done by PHP when the script ends (but it is very much appriciated, thank you).
touch() might be a rather uncommon function to many. But this it wat touch() does: update the file time if the file exists or create a file if it doen't.
tempfile() however creates a temporary file that you can use in your script as some sort of local facility. For instance to store an intermediate result when parsing some data. But the file will be deleted by PHP when the script ends. Therefore answers A, B and C are correct and D is false.