Question: C programing Write a program that creates and opens a file called myBooksList.txt for writing. 1. The file name should be stored in char array.
C programing

Write a program that creates and opens a file called ""myBooksList.txt" for writing. 1. The file name should be stored in char array. 2. The user needs to informed if the file was opened successfully or not. 3. You must write the names of at least two books to this file with each name occupying one line and you must use fprintf to accomplish that. 4. Your program must not cause any memory leaks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
