title: What's the point of if(true)? c++
body: <p>I've seen <code>if(true)</code> used a bunch of times.</p>
  
  <pre><code>int a = 10;
  if(true){
      int b = 20;
  }
  int c = 15;
  </code></pre>
  
  <p>I don't understand what the point of putting if(true) there. Does it always evaluate to true, meaning it always executes? It's not part of a function. It's just there. Does it have to do with memory allocation?</p>