Write a C program that:
• takes input file name from command line;
• checks argc for correct invocation (otherwise, prints error
and quits);
• opens that file if possible;( program should print an
error message in the event that the file cannot be opened
successfully.)
• Prints message confirming that file has been opened
successfully
• Then closes the file.
Write a C program that: • takes input file name from command line; • checks argc for correct invocation (otherwise, pri
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a C program that: • takes input file name from command line; • checks argc for correct invocation (otherwise, pri
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!