Program prompt for a file name to open for writing


Create a C program on below:

Q: Write a program that will prompt for a file name to open for writing. Prompt the user for 5 lines of text, writing each to the file. When finished, print out the contents of the file.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Program prompt for a file name to open for writing
Reference No:- TGS01932150

Now Priced at $20 (50% Discount)

Recommended (98%)

Rated (4.3/5)