title: What is the concept of dynamical array of nodes in C
body: <p>I'm dealing with linked list since many days everytime it encounters so many questions to me.</p>
  <p>I posted my last question about dynamical allocation of nodes. One of my comments was &quot; Array of nodes &quot;. I have little bit code on it</p>
  <pre><code>head = malloc(sizeof(node) * len);
  </code></pre>
  <p>But I'm confused how it internally working.</p>
  <p>What does above code means ?
  How the memory is allocated and accessed from the list ?</p>
  <p>Is that similar to below</p>
  <pre><code>_ _ _ _ _ _ _ _ _ _       _ _ _ _ _ _ _ _ _
  | data   |  *ptr    | ==&gt; | data    | *ptr   |  ==&gt; n nodes
  |_ _  _ _|_ _ _ _ _ |     |_ _ _ _ _|_ _ _ _ |
  </code></pre>
  <p>I'm not able to understand the difference between <strong>Dynamic array of nodes and normal nodes</strong></p>
  <p>Please explain me</p>
  <p>** Thanks! **</p>