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 computer

4 Answers  


will the program compile? int i; scanf(“%d”,i); printf(“%d”,i);

3 Answers  


write a program that explain #define and # undef directive

1 Answers  


Explain the Difference between the New and Malloc keyword.

0 Answers   InterGraph,


Can 'this' pointer by used in the constructor?

0 Answers  


out put of printf(“%d”,printf(ram));

5 Answers  


program for comparing 2 strings without strcmp()

4 Answers  


What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack

6 Answers  


What is double pointer in c?

0 Answers  


What do you mean by keywords in c?

0 Answers  


what does ‘segmentation violation’ mean?

1 Answers  


What are # preprocessor operator in c?

0 Answers  


Categories