Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

user-image
Question added by Loay khalil , IT Manager , Nahj El Khayal ( Al Othiam Group ) KSA
Date Posted: 2016/12/28
Zeeshan  Haidar
by Zeeshan Haidar , Hadi Tv , Hadi Tv

The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. It is not possible to use ordinary pointers for this. ... Void pointer is capable of storing pointer to any type as it is a generic pointer type

Charles Bambara
by Charles Bambara , System Consultant , fund international 2016

The use of void pointers can be extremely useful. It can be used as a universally generic pointer that can point to any type.of define  lists or data variable  set 

More Questions Like This