Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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

user-image
Question ajoutée par Loay khalil , IT Manager , Nahj El Khayal ( Al Othiam Group ) KSA
Date de publication: 2016/12/28
Zeeshan  Haidar
par 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
par 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