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
Differentiate between calloc and malloc.
What does the message "automatic aggregate intialization is an ansi feature" mean?
write a program to create a sparse matrix using dynamic memory allocation.
write a program for the normal snake games find in most of the mobiles.
What's a good way to check for "close enough" floating-point equality?
Do you know the difference between malloc() and calloc() function?
What is %lu in c?
What is the right way to use errno?
What is a lvalue
Where can I get an ansi-compatible lint?
What is the stack in c?
Can a function argument have default value?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
Is it possible to execute code even after the program exits the main() function?
What is clrscr in c?