title: c++ the best way of creating and initializing array
body: <p>What is better(more efficient) way of creating and initializing array ?</p>
  
  <pre><code>1. int array[3] {1,2,3};
  
  2. int *array=new int[3]{1,2,3};
  </code></pre>