, 1 min read
GNU C: Extensions to the C Language Family
Original post is here eklausmeier.goip.de/blog/2013/06-29-gnu-c-extensions-to-the-c-language-family.
Here is an article GNU C: Extensions to the C Language Family about extensions in GNU C vs. ANSI C.
- Nested functions, i.e., a function defined within another function
- Double-word integers, i.e., 64 bit signed and unsigned long long intandunsigned long long int
- Arrays of variable length, f(int z) { int a[z]; }
- Labeled elements in initializers
- Case ranges, e.g., case 'A' ... 'Z'