MCQ Answer

What is the function of fputs()?

What is the function of fputs()?

fputs () का कार्य क्या है?
Topic : File Processing

A. read a line from a file

B. read a character from a file

C. write a character to a file

D. write a line to a file




Correct Answer is :

D. write a line to a file



Explanation
The fputs() is used to write a line to a file. fputs() syntax can be written as int fputs(const char *str, FILE *stream);
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz