title: Why use if condition (0 == Indx) instead of (Indx == 0) — is there a difference?
body: <p>I have a basic question, which is bugging me a lot and I am unable to figure out why a programmer uses it.</p>
  
  <pre><code>if (0 == Indx)
  { 
      //do something
  }
  </code></pre>
  
  <p>What does the above code do and how is it different from the one below. </p>
  
  <pre><code>if (Indx == 0)
  {
      // do something
  }
  </code></pre>
  
  <p>I am trying to understand some source code written for embedded systems. </p>