Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.9K
1 Posted Topic
#include<stdio.h> #include<conio.h> void main() { struct student { char name[30]; char adr[50]; }; struct student s; char next='y'; FILE *fp; clrscr(); fp=fopen("st.txt","w"); while(next=='Y' || next=='y') { printf("\nEnter the name and address of the student:"); gets(s.name); gets(s.adr); fwrite(&s, sizeof(s),1,fp); printf("\nDo you wnat to continue y/n"); next=getche(); } fclose(fp); fp=fopen("st.txt","r"); printf("\nName \t\t …
The End.