title: In what order are boolean expressions evaluated
body: <p>I have been looking for an explanation for the order in which boolean expressions are evaluated but cannot find one.  </p>
  
  <p>Take a look at this statement :</p>
  
  <pre><code>if (locClsTanken.PlaceID == -1 &amp;&amp; locRwF.PlaceID &gt; -1 || locClsTanken.DagPrijs == 0)
  </code></pre>
  
  <p>How is this evaluated.<br>
  will it be like this :  </p>
  
  <pre><code>if ((locClsTanken.PlaceID == -1 &amp;&amp; locRwF.PlaceID &gt; -1) || locClsTanken.DagPrijs == 0)
  </code></pre>
  
  <p>or like this :</p>
  
  <pre><code>if (locClsTanken.PlaceID == -1 &amp;&amp; (locRwF.PlaceID &gt; -1 || locClsTanken.DagPrijs == 0))
  </code></pre>
  
  <p>Is there some documentation about this I dont know the correct search term because english is not my language.</p>
  
  <p>I know I can test it but I would like to find the documentation about this so I can fully understand it</p>