What does tmpfile() returns when it could not create the file?
(a) stream and NULL
(b) only stream
(c) only NULL
(d) does not return anything
I had been asked this question during an interview.
The above asked question is from File Operations topic in section Input and Output in C of C