title: Why does struct have two variable names in C/C++
body: <p>In the below code why does the struct have two variable names?</p>
  
  <pre><code>#include &lt;sys/resource.h&gt;
  
  int main (int argc, char **argv)
  {
      const rlim_t kStackSize = 64L * 1024L * 1024L;
  
      struct rlimit rl;    //HERE
  
      int result = getrlimit(RLIMIT_STACK, &amp;rl);
  
  
      return 0;
  }
  </code></pre>