For eg: when a list is created using linked list with head holding the first pointer to the structure and followed by the next pointers to the structure.
after creating the above list using link list and some operations done,
if head is assigned NULL, in order to free or delete the memory space allocated,
1.is this a right way of doing it.
2.Will the program crash