title: Is it possible to declare two variables of different types in a for loop?
body: <p>Is it possible to declare two variables of different types in the initialization body of a for loop in C++?</p>
  
  <p>For example:</p>
  
  <pre><code>for(int i=0,j=0 ...
  </code></pre>
  
  <p>defines two integers. Can I define an <code>int</code> and a <code>char</code> in the initialization body? How would this be done?</p>