Professional Documents
Culture Documents
New Microsoft Word Document
New Microsoft Word Document
#include<conio.h>
#include<stdlib.h>
void main()
clrscr();
FILE *fptr;
char text[100];
int i=0;
gets(text);
if((fptr=fopen("TEST","w"))==NULL)
fputs(text,fptr);
if(fclose(fptr))
getch();