title: What is the difference between Static and Dynamic arrays in C++?
body: <p>I have to do an assignment for my class and it says not to use Static arrays, only Dynamic arrays. I've looked in the book and online, but I don't seem to understand.</p>
  <p>I thought Static was created at <em>compile time</em> and Dynamic at <em>runtime</em>, but I might be mistaking this with memory allocation.</p>
  <p>Can you explain the difference between static array and dynamic array in C++?</p>