Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Arrange the following steps of file handling in C in the correct order :


(A) Close the file

(B) Read from or write to the file

(C) Open the file

(D) Check for error


Choose the correct answer from the options given below :






Solution

Correct file handling sequence in C:


Open file


Check for error


Read / Write


Close file


Thus order:


(C) → (D) → (B) → (A)



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...