Question: what is fputs function in c++?
Answer: fputs is a function in C programming language that writes an array of characters to a given file stream. fputs stands for file put string. It is included in the C standard library header file stdio. h . The function fputs terminates after reaching terminating null character ( '\0' ).