title: declaring variable length array as macro
body: <p>Can on do this:</p>
  
  <pre><code>#define VARIABLE_LENGTH_CHAR_ARRAY(name, size) \
                              int temp_array_size_macro_index = size; \
                              char "#name"[temp_array_size_macro_index];
  </code></pre>
  
  <p>and in the main use it like: </p>
  
  <pre><code>main(){
      VARIABLE_LENGTH_CHAR_ARRAY(local_char_array, 16);    
  }
  </code></pre>
  
  <p>would this go against the coding styles or would it be plagued with macro issues?</p>
  
  <p>I know you need to be careful with the variable name!</p>