Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 42
    Maintenance No No. This sort of thing will bite you in the keister sooner or later. Commented Dec 8, 2011 at 1:18
  • 3
    @MarkStorer, at least the compiler will catch any difference and generate an error. I verified this with Visual C++. Commented Mar 10, 2017 at 23:22
  • Nice, but how do you define A fields in this way since A is empty by definition ? Commented Jul 7, 2017 at 6:42
  • Repeated typedef is allowed in the latest standard of c Commented Jan 22, 2022 at 19:53