#includestdio.h 

/* Assume there is a file called 'file.c' in c:\tc directory. */

int main()
{
FILE *fp;
fp=fopen("c:\tc\file.c", "r");
if(!fp) printf("Knowing is just not enough.");
fclose(fp);
return 0;
}

Posted on by