title: Simple do while loop using while(true);
body: <p>Many times in the examples of C programs, I came across these kind of loops. What do these kind of loops really do?   </p>
  
  <pre><code>do {
  
      while (...) // Check some condition if it is true.
      { 
          calculation 1
      }
  
      // Some new condition is checked.
  
  } while(true);
  </code></pre>
  
  <p>What is the need of <code>while(true);</code> Is it used for infinite looping? Can someone please explain what the above loop really does. I am new to C programming</p>