Pages - Menu
HOME
GADGETS
ANDROID
SOFTWARES
COMPUTER TRICKS
ABOUT US
PRIVACY DISCLAIMER
CONTACT
Program for Read File
#include<stdio.h>
#include<conio.h>
main()
{
FILE *fp;
char ch;
clrscr();
fp=fopen("sunil.c","r");
if(fp==NULL)
{
printf("file not found.....");
}
else
{
while(!feof(fp))
{
ch=fgetc(fp);
printf("%c",ch);
delay(1000000);
}
}
getch();
fclose(fp);
}�
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment