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
What is the stack in c?
What are predefined functions in c?
Explain what is the difference between a string and an array?
Why #include is used in c language?
How can you read a directory in a C program?
What are reserved words with a programming language?
Is it better to bitshift a value than to multiply by 2?
Tell me what is null pointer in c?
What is a c token and types of c tokens?
Why isnt there a numbered, multi-level break statement to break out
Which is the best website to learn c programming?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
What is c variable?
Why we use stdio h in c?
What is const and volatile in c?