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","w"); printf("Enter the 5 Number : "); for(i=1;i<=5;i++) { scanf("%d",&a); fprintf(fp,"%d\n",a); } getch(); }
ShriRam Changed status to publish July 16, 2022