What is the difference between stat() and fstat()? fstat() is an alias of stat() While fstat() works on open file pointers, stat() works on files specified by pathname While stat() works on open file pointers, fstat() works on files specified by pathname stat() has nothing to do with files fstat() has nothing to do with files TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function outputs the contents of a string variable to the specified resource? fwrites() fwrite() filewrite() filewrites() TRUE ANSWER : ? YOUR ANSWER : ?
flock() is used to unlock a file so that two or more people do not get access to it at the same time. True False TRUE ANSWER : ? YOUR ANSWER : ?
Which function is useful when you want to output the executed command’s result? cmm() out_system() system() out_cmm() TRUE ANSWER : ? YOUR ANSWER : ?
The ............ function checks if the "end-of-file" (EOF) has been reached. feofs() f_eof() f_of() feof() TRUE ANSWER : ? YOUR ANSWER : ?
Which function sets the file filename’s last-modified and last-accessed times? touched() sets() set() touch() TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function is capable of reading a file into an array? arrfile() file_arr() file() arr_file() TRUE ANSWER : ? YOUR ANSWER : ?
The ........... function is used to read a single character from a file. fgetf() fget() fgetc() fgets() TRUE ANSWER : ? YOUR ANSWER : ?
The filesize() function returns the file size in ___________ gigabytes bytes kilobytes bits TRUE ANSWER : ? YOUR ANSWER : ?