title: Arithmetic operations in IF loop
body: <p>What does the below code do? I'm very confused with its working. Because I thought that the if loop runs till the range of int. But I'm confused when I try to print the value of <code>i</code>. Please help me out with this.</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  
  void main()
  {
      static int i;
      for (;;)
          if (i+++”Apple”)
              printf(“Banana”);
          else
              break;
  }
  </code></pre>