Files
Question 1 |
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:
(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:
(A), (C), (D), (B)
| |
(D), (B), (C), (A) | |
(C), (D), (B), (A)
| |
(C), (B), (D), (A) |