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






Write a C Program to display the following menu: Menu 1. Display 2. Copy 3. Append 4. Exit Acc..

Answer / kiran

Using command line opereators we can do this

Is This Answer Correct ?    15 Yes 14 No

Post New Answer




More C Interview Questions

What is the difference between malloc calloc and realloc in c?

0 Answers  


What is the significance of scope resolution operator?

0 Answers   Agilent, ZS Associates,


Explain how are portions of a program disabled in demo versions?

0 Answers  


What is meant by initialization and how we initialize a variable?

0 Answers  


AMMONG THE 4 STROAGE CLASSES IN C, WHICH ONE FASTEST?

13 Answers   HCL,






What is the difference between File pointer and Internal Charecter Pointer?

2 Answers   TATA,


what is the diff b/w static and non static variables in C. Give some examples plz.

3 Answers   Wipro,


What is c basic?

0 Answers  


i want the code for printing the output as follows 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4

2 Answers  


Why header file is used in c?

0 Answers  


do you think its fraud or original company?

0 Answers  


Write a program in c to print 1 121 12321 1234321 123454321

11 Answers   Mu Sigma, Wipro, College School Exams Tests, ANR,






Categories