title: Understanding what this for loop will do
body: <p>In this code, what does the "? arr[ i ] : min;" mean? Specifically the question marks in the statements?</p>
  
  <pre><code>int min;
  int max = 4000;
  
  min = max = arr[0];
  for(i = 1; i &lt; sz; i++) {
      min = (arr[i] &lt; min) ? arr[i] : min;
      max = (arr[i] &gt; max) ? arr[i] : max;
  }
  </code></pre>