Article Index

Function to delete a record from the doubly linked list and free the memory.

#include "project.h"

void DeleteRec(COURSE* record)
{
	Header();
	printf("\nDelete a Record\n");
	UnlinkRec(record);
	InitializeRec(record);

	printf("\nRecord Deleted Sucessfully!\n");

	GetEnter();
	return;
}
Log in to comment