I am having a hard time trying to count how many items in my linked list that are divisible by an int. We will call this int 3. I have attached my divList.c function. Can anyone help? Thanks!
Code:#include "ll.h" int divList (lnode * h, int div){ if (h == NULL) return 0; if (h -> info%div == 0) printf ("%d ", h -> info); divList (h -> next, div); }