Vidyalelo
C Programming · Q278

File Input Output

Programming · C Programming · question 278

Q278

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board