Advantages of C99
Technical documentation
02/24/2008
Using C99 provides the following features:
- inline functions
- variable declaration no longer restricted to file scope or the start of a compound statement
- several new data types, including long long int, optional extended integer types, an explicit boolean data type, and a complex type to represent complex numbers
- variable-length arrays
- support for one-line comments beginning with //, as in BCPL or C++
- new library functions, such as snprintf
- new header files, such as stdbool.h and inttypes.h
- type-generic math functions (tgmath.h)
- improved support for IEEE floating point
- designated initializers
- compound literals
- support for variadic macros (macros of variable arity)
- restrict qualification to allow more aggressive code optimization