How to implement heterogeneous linked list in c?
It is not possible to create heterogeneous linked list.
create a structure for each node and implement it.
have an array of nodes to create heterogeneous linked list.
Using void pointers.
Heterogeneous linked list means, each node of different type. This can be possible by having a void pointer as the data item of each node, which points to different nodes of different struct type.
Back To Top