static inline void add(struct linkedList *list, void *data) {“Implement” }
I tried to implement linked list add function but could not understand why void *data is passed. If anyone have some ideas please explain to me.
static inline void add(struct linkedList *list, void *data) {“Implement” }
I tried to implement linked list add function but could not understand why void *data is passed. If anyone have some ideas please explain to me.