Can i edit records stored in file without rewriting whole file again .?
This depends on the filsystem you are using. The most common filesystem allow replaceing contents but not insertion or removall of items.
Depending on the library you're using have look at lseek(), fseek() or seekg(). Have look into the man pages and this web pages references.