After creating a structure and trying to assign the address of a node to the linked list, the program builds correctly, however crashes upon running. Any help? Thanks.
This issue seems to be due to the lines of code "tail->back = head;" and "head->next = tail;".Code:struct student{ struct student* back; char first[size]; char last[size]; double score; int zip; struct student* next; }; struct student *head; struct student *tail; struct student *current; struct student *temp; int main() { head = NULL; tail = NULL; tail->back = head; head->next = tail; current = head; }