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 mentioned
The question was posed to me in quiz.
My enquiry is from File Access in chapter Input and Output in C of C