Powered By Blogger

Monday, May 4, 2009

C Programming

#include
#include
int main()
{
FILE *fp;
char *fname;
clrscr();
printf("please type a filename:");
gets(fname);
if((fp=fopen(fname,"r"))==NULL)
printf("File not exist:");
else
printf("\n\"%s\"File exist:",fname);
getch();
return 0;
}

0 comments:

About This Blog

This is an important blog about updated news about computer science and technology.

Blog Archive

Visitors

  © Free Blogger Templates Blogger Theme II by Ourblogtemplates.com 2008

Back to TOP