title: Can you declare multiple reference variables on the same line in C++?
body: <p>I.e. are these legal statements:</p>
  
  <pre><code>int x = 1, y = z = 2;
  int&amp; a = x, b = c = y;
  </code></pre>
  
  <p>with the intended result that <code>a</code> is an alias for <code>x</code>, while<code>b</code> and <code>c</code> are aliases for <code>y</code>?</p>
  
  <p>I ask simply because I read <a href="http://www.cprogramming.com/tutorial/references.html" rel="noreferrer">here</a></p>
  
  <blockquote>
    <p>Declaring a variable as a reference rather than a normal variable
    simply entails appending an ampersand to the <strong>type</strong> name</p>
  </blockquote>
  
  <p>which lead me to hesitate whether it was legal to create multiple reference variables by placing <code>&amp;</code> before the <strong>variable</strong> name.</p>