What is the function of FILE *tmpfile(void)?
A. creates a temporary file of mode “wb+”
B. creates a temporary file of mode “wb”
C. creates a temporary file of mode ” w”
D. creates a temporary file of mode “w+”
Answer: a
Explanation: A temporary file is created by tmpfile() function of mode “wb+” that will be automatically removed when closed or when the program terminates normally.