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 oops c?

0 Answers  


What does do in c?

0 Answers  


Can a pointer be volatile in c?

0 Answers  


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

0 Answers  


Explain what is the benefit of using #define to declare a constant?

0 Answers  






What are the advantages of Macro over function?

1 Answers  


What are control structures? What are the different types?

0 Answers  


what is the purpose of the code, and is there any problem with the code? int f( int n, int l, int r ) { return (n << l) >> r; }

2 Answers   Google,


What is the scope of an external variable in c?

0 Answers  


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

0 Answers  


Is main a keyword in c?

0 Answers  


What is the difference between a free-standing and a hosted environment?

0 Answers   Aspire,


Categories