title: Create an array of Node pointers
body: <pre><code>  struct Node {
        int data;        // The data being stored at the node
        Node *next;     // Pointer to the next node
        };
  
  int main()
  {
           Node **nodeArray = new (Node*)[5];
  }
  </code></pre>
  
  <p>First question:</p>
  
  <p>Is the statement in main a valid way  to create an array of 5 Node * 's  ?</p>
  
  <p>What is the difference between the statement in main and <code>Node **nodeArray = new Node*[5];</code>? Main currently gives me an error: array bound forbidden after parenthesized type-id|</p>
  
  <p>Second question:</p>
  
  <p>How would I go through the array and do a new for each one of them? I've worked with arrays and I've worked with linked lists, but putting them together seems trickier than I'd thought.</p>