title: What is the output of below program?
body: <p>While run this problem when it gets terminate the loop?</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  #include&lt;conio.h&gt;
  void main()
  {
    int n=12,res=1;
    clrscr();
    while(n&gt;3)
    {
      n+=3;
      res*=3;
    }
    printf("%d",n*res);
    getch();
  }
  </code></pre>
  
  <p>The above result is 3595. But i don't understand the process of while loop. When it gets terminates its loop?</p>