title: Write the required code to create a dynamic one dimensional integer array
body: <p>I'm not sure how to answer this question or what it ask exactly for.</p>
  
  <blockquote>
    <p>Q:Write the required code to create a dynamic one dimensional integer
    array.</p>
  </blockquote>
  
  <p>So does it ask just to make dynamic 1D array like this:</p>
  
  <pre><code>new int [5] 
  or 
  new int [size]
  </code></pre>
  
  <p>or it ask for another answer like this one:</p>
  
  <pre><code>int size = 5;
  
  int *ptr;
  
  ptr = new int[size];
  </code></pre>
  
  <p>Thank you.</p>