1.

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 anythingI 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

Answer»

Right choice is (a) STREAM and NULL

The best I can EXPLAIN: tmpfile() RETURNS a stream or NULLif it COULD not create the FILE.



Discussion

No Comment Found

Related InterviewSolutions