title: Basic logical operator question
body: <pre><code>#include &lt;stdio.h&gt;
  int main()
  {
      int k=5;
      if(++k &lt; 5 &amp;&amp; k++ / 5 || ++k &lt;= 8)
      {
           printf("%d",k);
      }
      return 0;
  }
  </code></pre>
  
  <p>Why is the output 7 and not 8?(I am a beginner in programming so please bear with me.)</p>