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 are qualifiers?

0 Answers  


How do you define structure?

0 Answers  


What is extern storage class in c?

0 Answers  


write c program to display output 10(10+20)+(10+20+30)+ ... n term

0 Answers   Hindustan Gum Chemicals,


what is the difference between these initializations? Char a[]=”string”; Char *p=”literal”; Does *p++ increment p, or what it points to?

4 Answers  






How do I use void main?

0 Answers  


What is graph in c?

0 Answers  


How can I increase the allowable number of simultaneously open files?

1 Answers   CSC,


const char * char * const What is the differnce between the above tow?.

6 Answers   Ramco, TCS,


Explain 'far' and 'near' pointers in c.

0 Answers  


How to delete a node from linked list w/o using collectons?

0 Answers   Zycus Infotech,


What is the newline escape sequence?

0 Answers  


Categories