I am new to C and new to this forum as well.
I need to create a student database which stores the name and roll number of the student.
I have almost no knowledge of how to create a database in c.
the program below is what i tried to do but honestly i don't understand what it actually does.
I can't understand if the name and roll number is replaced every time i press y or if it creates entirely a different file or record or something.
I also want to edit the database whenever i want but i don't see anything in the program that can help me edit the database i have created.
I would appreciate any help on creating a database.
printf("Enter Student Number : ");
printf("Enter Student Name : ");
printf(a,"%d %s \n",sno,sname);
printf("Do you wish to continue(Y/N)");