title: Return a double value from an array element to the console
body: <p>I have some code where <code>norms</code> is declared as a double array of size 3 x 2.  I would like to output <code>norms[0]</code> to the console.</p>
  <pre class="lang-cpp prettyprint-override"><code>#include &lt;iostream&gt; 
  using namespace std;
      
  double norms[3][2];
  _cal_norm(dept,size,max_posn,norms[0]);
  cout &lt;&lt; norms[0];
  </code></pre>
  <p>I would like to have the double value returned. I have tried using <code>cout &lt;&lt; norms[0]</code> to return it.  But it returns the following instead:</p>
  <blockquote>
  <p>norms[0] 1 0x7fff33d52180</p>
  </blockquote>
  <p>Is there a way for me to see the double value?</p>