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
Explain the difference between call by value and call by reference in c language?
explain what are pointers?
What is malloc return c?
What is const volatile variable in c?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
How do you print an address?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What does struct node * mean?
c language interview questions & answer
What is infinite loop?
Is the exit() function same as the return statement? Explain.
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
What is the size of empty structure in c?
Is c is a high level language?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.