FREE TUTORIALS ON C programming

Saturday, January 25, 2014

#include <stdio.h>

int main()

{
   FILE *fp;

   fp = fopen("file.txt", "w");

   fprintf(fp, "%s", "This is tutorialspoint.com");

   fclose(fp);
   
   return(0);
}

11:47 PM   Posted by Unknown with No comments

0 comments:

Post a Comment

Bookmark Us

Delicious Digg Facebook Favorites More Stumbleupon Twitter

Search