MCQs > IT & Programming > C Programming > 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?

C Programming 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

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it