What is for(;;) loop in C++?
<p>My friend showed me this and I have no idea how it works and what it's called. Can someone explain to me how it loops the way it does? For example:</p>

<pre><code>for(;;){
    cout &lt;&lt; "loop" &lt;&lt; endl;
}
</code></pre>

<p>It will just keep looping the string forever. This kind of loop can be used for anything. How does this work?</p>