There\'s two error in this program
1.File output is not as expected to be, it is dumping the whole stuff because while (strcmp((*head)->details.content[i], "
while (strcmp((*head)->details.content[i], "