MODIFY
Modify operation. In this blog I have explained the function modify(). Modify operation is used just to modify the existing data in the file. For example suppose there is one entry having a name of book "Data structure through C" in the file and we want to modify the name of the author. For that first we have to search for that book in the file and then we can modify the name of the author. In the same way we can modify any of the field related to the book. Now we will see how to program this function. Before finding the details of the book we want to modify we have to check whether the previous copying() function is over or not. If it is over then only we can modify the details. void modify() { if(q==0) { copying(); q=1; } As we can see the function modify() starts with if loop. We have take one flag 'q' whose value is 0 unti...