A. | fp is a file pointer |
B. | position the read-write-head at the start of the file |
C. | position the read-write-head at the end of the file |
D. | None of these |
Option: B Explanation : Click on Discuss to view users comments. |
A. | Stack |
B. | Queue |
C. | List |
D. | None of these |
Option: B Explanation : Click on Discuss to view users comments. |
If a file is opened in r+ mode then
A. | reading is possible |
B. | writing is possible |
C. | both (a) & (b) |
D. | all the above comments are true |
Option: C Explanation :
r+ - If is opened successfully fopen( ) loads it into memory and sets up a pointer which points to the first character in it. Returns NULL, if unable to open the file.Operations possible - reading existing contents, writing new contents, modifying existing contents of the file
Operations possible – reading from the file.
Click on Discuss to view users comments. |
Syllabus Covered in this section is
This Section covers Multiple Choice Questions Answers in C Programming . Here questions answers are given with explanation and references. These questions can be used for the preparation of various competitive and academic exams.
Who can benefit -
Various Search Terms used for this section are