title: unable to predict the output when we use do-while loop and write constants in while loop seperated by comma
body: <pre><code>int i=40;         //defined    
  int main()
  {
      do
      {
          printf("%d",i++);
      }while(5,4,3,2,1,0);  //what does this do ?
  
      return 0;
  }
  
  **O/P=40**
  </code></pre>
  
  <p>I am unable to figure out what the while loop does in the above code.....</p>
  
  <p>I know that do while loop execute atleast once.As the <code>O/P=40</code> condition of while loop evaluates to false but iam unable to figure out how?</p>