coding180 icon
Coding180

What pointer type should be used if creating a heterogeneous linked list in C?

Home > Interviews > PHP


robort - 2022-10-03 02:43:28

What pointer type should be used if creating a heterogeneous linked list in C? 
Different data types are present in heterogeneous linked lists, making it impossible to utilize standard pointers.

Voidpointers can store pointers to any type, you must use one of the generic pointer types like voidpointer to accomplish this.


user

Robort Gabriel

Lagos, Nigeria

Freelance Web Developer, Native Android Developer, and Coding Tutor.

Skills
  • UI / UX
  • JavaScript
  • Python
  • PHP
  • Kotlin
  • Java
  • Bootrap
  • Android
  • Laravel