title: finding size of multidimensional array
body: <p>How would I find the size in bytes of an array like this?</p>
  
  <pre><code>    double dArray[2][5][3][4];
  </code></pre>
  
  <p>I've tried this method but it returns "2". Maybe because the array is only declared and not filled with anything?</p>
  
  <pre><code>     #include &lt;iostream&gt;
       #define ARRAY_SIZE(array) (sizeof((array))/sizeof((array[0])))
       using namespace std;
  
        int main() {
          double dArray[2][5][3][4];
          cout &lt;&lt; ARRAY_SIZE(dArray) &lt;&lt; endl;
         }
  </code></pre>