title: Is it valid to initiate the size part of a VLA in the same sequencepoint as the VLA is declared?
body: <p>In <a href="https://stackoverflow.com/questions/38326930/cannot-read-full-100000-integer-values-from-a-file-in-c">this post</a>, the OP contains code where there is a lot wrong with, but 1 line made me especially curios, since I wasn't able to look anything up, disallowing it. This is the specific line:</p>
  
  <pre><code>int n = 100000, arr[n];
  </code></pre>
  
  <p>Is the order of declaration and initialization beeing ensured?</p>
  
  <p>So here I would assume it might even happen that <code>n</code> wasn't initialized when <code>arr</code> gets declared, what obvisiously would not be good.</p>
  
  <p>But I wasn't able to find any statement regarding this in the iso/iec 9899 draft at hand neither stating it undefined nor defining it.</p>
  
  <p>So is this as I assume not defined behavior?
  Or is it?</p>
  
  <p>And either way, what is the rule beeing applyed for that result?5</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Is that valid for C99, too?</p>