Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which one of the following function outputs the contents of a string variable to the specified resource?

a) filewrite()
b) fwrite()
c) filewrites()
d) fwrites()

Answer: b
Explanation: The function fwrite() writes to an open file. This will stop at the end of the file or when it reaches the specified length, whichever comes first.

Join The Discussion