[prev] [index] [next]

Dynamic Data Structures (cont)

Dynamic data structures are built at runtime.

Linked lists are an example. They are defined as:

typedef struct node {
	DataT data;		// e.g. int data;
	struct node *next;
} NodeT;

[Diagram:Pic/linkedList2.png]