title: sub list of linked list in c?
body: <p>I want to make a sub list in a single list using c.  I have a list with name, surname, phone, e-mail….
  I want to make a sub list under phone to keep more phones.
  This is my struct:</p>
  
  <pre><code>typedef struct ph{
      char * phone;
      ph *next;
  }listofphones;
  
  typedef struct client{
      char* name;
      char* surname;
      date birthday;
      char bankaccount[16];
      listofphone phone;
      char* mail;
      struct client *next;
  } clientData;    
  </code></pre>
  
  <p>I want an extra sub-list for any client. The problem is that the phones are all in the same list. So how can I create a different list?</p>
  
  <p>Example:</p>
  
  <pre><code>name1-&gt;surname1-&gt;birthday1-&gt;bankaccount1-&gt;phone1-&gt;mail1.......
                                              |
                                            phone2
                                              |
                                            phone3 
                                              .
                                              .                                                     
                                              .
  </code></pre>
  
  <p>(Sorry for bad drawing I hope it’s clear enough.)</p>