title: Why does putting parentheses around a list of comma separated values change the assignment?
body: <p>Please consider following code,</p>
  
  <pre><code>    int i;
  
      i = 1,2,3,4,5;
      printf("First time i = %d\n",i);
  
      i = (1,2,3,4,5);
      printf("Second time i = %d\n",i);   
  </code></pre>
  
  <p>Output:</p>
  
  <p>First time i = 1</p>
  
  <p>Second time i = 5</p>
  
  <hr>
  
  <p>Why do the parentheses make the comma operator take last value and without parentheses it takes first value?</p>
  
  <p>Thanks in advance. </p>