September 2025
Intermediate to advanced
552 pages
14h 5m
English
_Generic expressionsauto and typedef Type-generic features are so deeply integrated into C that most programmers are probably not even aware of their omnipresence. We first identify and provide a more systematic view of a number of different features that do indeed provide type-genericity and that we already have seen throughout the book (see section 18.1). This discussion covers operators that work for multiple types, type promotions and conversions, macros, variadic functions, function pointers, and void pointers. Then we introduce a more complicated programmable feature that came with C11: generic selection by means ...
Read now
Unlock full access