title: Initializing an empty array in C++
body: <p>I am writing a program in C++ and I need to initialize an array of a struct object I have created. It looks something like this:</p>
  
  <pre><code>typedef struct {
  float x;
  float y;
  } vec2;
  </code></pre>
  
  <p>And then I initialize an array like this:</p>
  
  <pre><code>vec2 hotSpot[1000];
  </code></pre>
  
  <p>I thought when I initialized such an array, it would be completely empty, but when I print the value of sizeof(hotSpot), it says 8000!</p>
  
  <p>Am I going wrong somewhere, or have I misunderstood some concept? How do I make this array empty?</p>