title: Trying to create an empty linked list in C
body: <p>I'm trying to create an empty linked list, which asks the user for the maximum number of terms that the list can hold. (I didn't add my code for that as its simply a printf). I then have to create a new function which asks the user to insert input into the previously created list.</p>
  
  <p>My question is, how do I make the <code>create_q()</code> function return the empty list?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  #include &lt;stdlib.h&gt;
  
  typedef struct node_t {
      int value;
      int priority;
      struct node_t *next;
  }node;
  
  typedef struct priority_linked_list {
      struct name *head;
      int current_size;
      int max_size;
  }priority_list;
  
  typedef node *Node;
  typedef priority_list *List;
  
  void create_q(int max_terms) {
  
      node *head = NULL;
      node *next = NULL;
      List *current_size = 0;
      List *max_size = max_terms;
  
  }
  </code></pre>