Write a C Program to display the following menu:
Menu
1. Display
2. Copy
3. Append
4. Exit
Accept the choice (1-4) from the user, and perform the
following tasks:
Choice 1: Accept a file name from the user and display the
file on screen
Choice 2: Accept two file names, and copy first file to the
second
Choice 3: Accept two file names, and append second file to
the first file
Choice 4: Terminate the program
Answer Posted / kiran
Using command line opereators we can do this
| Is This Answer Correct ? | 15 Yes | 14 No |
Post New Answer View All Answers
How to write a multi-statement macro?
What does do in c?
formula to convert 2500mmh2o into m3/hr
What are the different types of objects used in c?
Explain continue keyword in c
Is c object oriented?
What is a far pointer in c?
Write a program to show the change in position of a cursor using c
What are 3 types of structures?
Write a program to know whether the input number is an armstrong number.
What is sizeof c?
How can I write functions that take a variable number of arguments?
What are # preprocessor operator in c?
What are the advantage of c language?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?