title: Nested structures in C and C++
body: <p>Is there any significance behind allowing the visibility of nested structures outside the structure in C but not in C++? I did not find any reference or relevance.</p>
  
  <pre><code>struct a
  {
    struct b{
    };
  };
  
  int main(){
    struct b var;  // allowed in C not in C++.
  }
  </code></pre>