Program to write to the file using fprintf() function

 

You may also like...