C Program to create and write a File

#include<stdio.h>
#include<conio.h>

int main()
{
FILE *fp;
char ch;
fp = fopen("one.txt", "w");
printf("Enter data");
while( (ch = getchar()) != EOF) {
    putc(ch,fp);
}
fclose(fp);

return 0;
}

Reactions:

19 comments:

  1. Every weekend i used to go to see this site, because i wish for enjoyment, for the reason that this this site conations in fact nice funny information too.

    ReplyDelete
  2. नोटबंदी के 50वें दिन, मोदी सरकार के फैसले से निराश हैं जनता
    Readmore todaynews18.com https://goo.gl/NJUQY9

    ReplyDelete
  3. Insightful information shared here. One can also get the admission in best schools of architecture only at SMMCA Nagpur. Thanks for sharing.

    ReplyDelete
  4. thank the good topic.
    Welcome To Casino online Please Click the website
    thank you.
    gclub casino
    gclub จีคลับ
    gclub

    ReplyDelete
  5. Thank you for your sharing this good article.
    please welcome to gclub kasino online all game click here to join us now
    thank you!


    goldenslot casino
    บาคาร่าออนไลน์
    gclub casino


    ReplyDelete
  6. distance learning for

    everyone and everywhere. It's a free educational portal.

    ReplyDelete
  7. Very nice post.really I apperciate your blog.Thanks for sharing.keep sharing more blogs.

    หนังเกย์

    ReplyDelete
  8. Very Nice post is this and Keep Sharing this type of blog.Write My Essay

    ReplyDelete
  9. Mobile Repairing course in Noida & Delhi Call 9811-184-872.
    Techno Certified is the best mobile repairing training institute in Delhi/Ncr. Learn Mobile repairing Course and become a mobile Engineer at very low cost.
    Mobile Repairing course in Noida & Delhi

    ReplyDelete
  10. Good Post about C-program.
    Thanks for such good content.Your information is useful. Festival Dates and Days

    ReplyDelete
  11. Thanks for the useful information. Right on. It's more informative and easy to understand. Please help me suggest
    The Best School in Moolakadai
    The Best School in Vyasarpadi

    ReplyDelete
  12. Pretty great post. I simply stumbled upon your weblog and wanted to say that I have really loved browsing your blog posts
    indian schools in ajman | british schools in ajman

    ReplyDelete
  13. Thanks for the useful information. Right on. It's more informative and easy to understand. Thanks a lot such a nice guideline.
    Sri Lakshminarayana Nursery and Primary school in chennai was established in the year 1985 with a head count of just 10 pupil. We believe in the motto ”learn and develop while playing”. Your tiny tots get the learning experience with creative and play way of coaching. Not only excelling in academic our students are outstanding zonal level achievers when it comes to sports. Located in Chennai we are the best school in Moolakadai, best school in Perambur, Best school in MKB Nagar and best school in Vyasarpadi.
    The Best School in Perambur
    The Best School in Vyasarpadi

    ReplyDelete
  14. Thanks for such important information.keep up the good work.Ethical Hacking training is based on current industry standards that helps attendees to secure placements in their dream jobs at MNCs. Indian Cyber Army Provides Best Ethical Hacking Training in India.Indian Cyber Army credibility in Ethical hacking training & Cybercrime investigation training is acknowledged across nation as we offer hands on practical knowledge and full assistance with basic as well as advanced level ethical hacking & cybercrime investigation courses

    ReplyDelete