, 1 min read
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 int
andunsigned long long int
- Arrays of variable length,
f(int z) { int a[z]; }
- Labeled elements in initializers
- Case ranges, e.g.,
case 'A' ... 'Z'