title: How to initialize a number of variables within a for loop in Arduino
body: <p>I'd like to initialize a bunch of variables by calling them in a for loop like this. The effect I'm hoping for is that I'd have three variables at the end aVar = 1, bVar =2, and cVar = 3. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>char* variables[] = { "aVar", "bVar", "cVar"};
  int values[] = { 1, 2, 3};
  
  void setup(){
    for (int i = 0; i &lt; 3; i++){
      int String(variables[i]) = values [i];
      Serial.println(variables[i]);
    }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>Is there a way to do this?</p>