I have the following structures:
typedef struct DataNode
{
int id;
} DataNode;
typedef struct Node
{
DataNode data;
struct Node *Next;
} Node;
typedef struct List
{
int size;
Node *head;
} List;
I made a drawing to understand these nested structures because I'm having a little trouble understanding the concept of nested structures. Are the above structures the same as the drawing below?
Thank you.