MCQOPTIONS
Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Testing Subject
General Aptitude
Logical and Verbal Reasoning
English Skills Ability
Technical Programming
Current Affairs
General Knowledge
Finance & Accounting
GATE (Mechanical Engineering)
Chemical Engineering
→
Distributed Operating System
→
File System
→
fgets() is used to read a file one line at a time.
1.
fgets() is used to read a file one line at a time.
A.
rue
B.
alse
Answer» B. alse
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Which function is useful when you want to output the executed command’s result?
Which function sets the file filename’s last-modified and last-accessed times?
Which of the following functions reads the entire contents of a file?1. fgets()2. file_get_contents()3. fread()4. readfile()5. file()
flock() is used to unlock a file so that two or more people do not get access to it at the same time.
What is the difference between stat() and fstat()?
fgets() is used to read a file one line at a time.
Which of the following functions retrieve the entire contents of a file in such a way that it can be used as part of an expression?1. file_get_contents()2. fgets()3. fopen()4. file()5. readfile()
The ........... function is used to read a single character from a file.
The ............ function checks if the "end-of-file" (EOF) has been reached.
What should you do if your script is having problem recognizing file endings from a text file saved on a platform different from the one you’re reading it on?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies