Write a program in any language and use any 5 file operations in that. Also write the output of the program?

Sandeep929;

Looking at the 2 posts you've made, both look as though you copy/pasted the questions off of your computer programming class homework.

Please provide details of the nature of the problem you are having, as well as code snippets from attempts you have made at solving the problem, so that people have an idea of how to help you.

If, on the other hand, you expect us to do your homework for you... Well, speaking personally, not gonna happen. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.