title: while loop output for multiple condition
body: <pre><code>main()
  {
      int i=0,j=0;
      while(i&lt;5,j&lt;10)
      {
          i++;
          j++;
      }
      printf("%d,%d,",i,j);
  }
  </code></pre>
  
  <p>output: <code>10,10</code></p>
  
  <pre><code>int main(){
      int x=2,y=2;
      while(x&lt;=5,y&lt;=3)
           printf("%d %d ",++x, ++y);
      return 0;        
  }
  </code></pre>
  
  <p>output: <code>3 3 4 4</code></p>
  
  <p>In the first code how can output is coming as <code>10,10</code>? can anyone explain,but the output for the second code is <code>3344</code>, Are both running on different logic?</p>