Priority LinkedList
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, OCaml, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ #include <stdio.h> #include <stdlib.h> typedef enum { CHAR, INT, FLOAT, STRING, STRUCT } Prlist_t; struct PriorityList { int priority; Prlist_t type; char size; void *data; struct PriorityList* next; }; typedef struct PriorityList prList; prList* prlist_insert(prList *tail,void *data, Prlist_t type, char size,int pr) { if(tail == NULL) /* create head node and return it */ { tail = (prList*) malloc(sizeo...