title: Double Linked List + Dynamic Memory Allocation
body: <p>I'm learning dynamic memory allocation and using doubly linked lists right now, and am not really understanding any of it.
  I want to keep a list of persons (which also has to be alphabetically sorted but I feel like that's still far away for me), but with using malloc and stuff.</p>
  <pre class="lang-c prettyprint-override"><code>struct person 
  {
  char name;
  char adress;
  int phone number; 
  };
  </code></pre>
  <p>From <code>main</code> I'll access a func <code>newPerson</code>.</p>
  <ol>
  <li>Question: Now that I can't use an array <code>struct person persons[50]</code> anymore, how do I add a new person to my list? And what does my fgets line look like? Because <code>fgets(persons['currentPosition'].name, 50, stdin)</code> doesn't seem to be working</li>
  </ol>
  <p>That's all for now, I've forgotten my other question...</p>