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
Answer:A
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