title: C++ multiple values initialization
body: <p>I am writing a program in C++. I am having a problem with the code when I assign multiple values to a single variable. I am confused about the particular logic as there is no decrement operator in the code but when <code>i</code> assign the multiple values its logic is not completely understood by me: </p>
  
  <pre><code>int main()
  {
      int j = 1;
      int i = (j+2, j+3, j++);
      cout&lt;&lt;"value is "&lt;&lt;i;
      getch();
      return 0;
  }
  </code></pre>
  
  <p>Output is <code>1</code>. I don't know one is assigned to <code>i</code>. </p>