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+”
I had been asked this question in an interview.
My question is taken from File Operations topic in portion Input and Output in C of C