Math, asked by shashankcr12, 7 months ago

which argument is passed to fflush()?
A. no parameters
B. stdin
C. stdout
D. stderr​

Answers

Answered by IᴛᴢBʟᴜsʜʏQᴜᴇᴇɴ
88

Answer:

Nᴏ ᴘᴀʀᴀᴍᴇᴛᴇʀs

Step-by-step explanation:

Pʟs ᴍᴀʀᴋ ᴀs ʙʀᴀɪɴʟɪᴀsᴛ ᴀɴᴅ ғᴏʟʟᴏᴡ ᴍᴇ✌️

Answered by zumba12
15

(B) stdin argument is passed to fflush()

Explanation:

  • The fflush() method clears the I/O buffer associated with the open file given by the FILE reference argument. If somehow the file was opened to writing, fflush() will write the document's contents.
  • The action of fflush() is not defined by the standards if the file is just opened for reading. The input buffer is typically cleared by most systems. If somehow the function is successful, it returns 0; otherwise, it returns EOF if such an error occurs when writing to the file.
  • The fflush() parameter might be a null pointer. In this example, fflush() flushes the outputs buffers of all active streams in the application. The fflush() method has no impact on unbuffered files and therefore does not terminate the file.
Similar questions