title: How to display a linked list in a struct in C
body: <pre><code>typedef struct child_list {int count; char vo[100]; child_list*next;} child_list;
  typedef struct parent_list
  { char vo[100];
  child_list * head;
  int count;
  parent_list * next; } parent_list;
  </code></pre>
  
  <p>As you can see there are two structures. <code>child_list</code> is used to create a linked list. And this list will be stored in a linked list of parent list. My problem is to display the child list which in the <code>parent_list</code>. </p>
  
  <p>My desire to get while displaying the linked list of <code>parent_list</code>:</p>
  
  <p>This lists work with this logic. I already made append and other stuff.</p>
  
  <p>For example if I enter <code>ab cd ab ja cd ab</code></p>
  
  <pre><code>Word    Count    List
  
  ab        3      cd-&gt;ja
  
  cd        2      ab-&gt;ab
  
  ja        1      cd
  </code></pre>
  
  <p>The problematic part is displaying <code>child_list</code> which is in the <code>parent_list</code> nodes(List column of output). I don't know my question is clear please ask for further info.</p>