struct dataElement { string key; int id; }; typedef dataElement * pElement; typedef struct Node * pNode; struct Node { pNode next; pElement data; }; // how big is a Node? const nodeSize = sizeof(struct Node ); const elementSize = sizeof( struct dataElement );