liveBook · Manning

Storage class

A storage class specifier is a C declaration keyword that specifies an object's storage duration, linkage, or related declaration properties.

How 2 Manning books explain it

Modern C, Third Edition

A storage class specifier is a C declaration specifier that controls an object's storage duration, linkage, or related storage properties.

How it is used
Organizes C declarations by object lifetime, linkage, visibility, optimization constraints, and thread-specific ownership.
How deep it goes
Explains automatic, extern, register, and thread_local behavior with rules and tables, but defers dynamic thread-specific destruction to tss_t APIs.
Examples
Uses shadowed local and extern variables, recursive automatic objects, a storage-property table, and thread-specific storage function signatures.
What you can do after
Evaluate declarations by predicting object identity, lifetime, visibility, linkage, addressability, and per-thread behavior.

Read how Modern C, Third Edition explains storage class →

Modern C

A storage class specifier is a C declaration keyword that specifies an object's storage duration, linkage, or related declaration properties.

How it is used
Clarifies how C declarations control visibility, linkage, storage duration, and access to existing objects.
How deep it goes
Explains shadowing, extern object identity, static lifetime, and initialization, while deferring broader declaration details to a classification table.
Examples
Uses nested x declarations, a retained pointer, and file-scope and block-scope i declarations involving extern.
What you can do after
Evaluate which object a declaration names and distinguish identifier visibility from object lifetime and usability.

Read how Modern C explains storage class →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.