Which function is used to write all the characters ?
write()
Reason — write() function is used to write all the characters in a file.