1.

Which of the following fopen() statements are illegal?(a) fp = fopen(“abc.txt”, “r”);(b) fp = fopen(“/home/user1/abc.txt”, “w”);(c) fp = fopen(“abc”, “w”);(d) none of the mentionedThe question was posed to me in quiz.My enquiry is from File Access in chapter Input and Output in C of C

Answer» CORRECT ANSWER is (d) NONE of the mentioned

The BEST EXPLANATION: None.


Discussion

No Comment Found

Related InterviewSolutions