Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Differentiate between calloc and malloc.

1317


What does the message "automatic aggregate intialization is an ansi feature" mean?

1241


write a program to create a sparse matrix using dynamic memory allocation.

4954


write a program for the normal snake games find in most of the mobiles.

2307


What's a good way to check for "close enough" floating-point equality?

1253


Do you know the difference between malloc() and calloc() function?

1110


What is %lu in c?

1326


What is the right way to use errno?

1115


What is a lvalue

1146


Where can I get an ansi-compatible lint?

1201


What is the stack in c?

1225


Can a function argument have default value?

1205


the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset

1157


Is it possible to execute code even after the program exits the main() function?

1392


What is clrscr in c?

1171