C Programming - MCQ Practice Questions
Practice free C Programming multiple-choice questions with detailed answers and explanations. Perfect for competitive exam preparation.
978 questions | 100% Free
Q.21Easy
In C file handling, what does rewind(fp) do?
Q.22Easy
Which file opening mode allows both reading and writing without truncating existing content?
Q.23Easy
What does fseek(fp, 0, SEEK_END) accomplish?
Q.24Easy
Which function returns the current position of file pointer?
Q.25Easy
Which mode opens file in text format with write permission only?
Q.26Easy
Which function is used to check if the end-of-file (EOF) has been reached in C file handling?
Q.27Easy
In a file processing application, what is the primary difference between 'wb' and 'w' file modes?