ShriRam Changed status to publish July 16, 2022
#include<stdio.h> #include<conio.h> void main() { int a,i; FILE *fp; fp=fopen("abcde.dat","r"); printf("5 numbers are"); for(i=1;i<=5;i++) { fscanf(fp,"%d",&a); printf("%d\n",a); } getch(); }
ShriRam Changed status to publish July 16, 2022