#include "mystruct.h" typedef struct list { pair *head; // First element pair *tail; // Last element } list;