MCQs>IT & Programming>Programming With C>Suppose there is a file a.dat which has to be opened in the read mode using the FILE pointer ptr1, what will be the correct syntax?
Programming With C MCQs
Suppose there is a file a.dat which has to be opened in the read mode using the FILE pointer ptr1, what will be the correct syntax?
Answer
Correct Answer: ptr1 = fopen("a.dat","r");
Explanation:
Note: This Question is unanswered, help us to find answer for this one