APPENDIX THE FIFTH EDITION OF THE C STANDARD (C23)
with Aaron Ballman
The latest (fifth) edition of the C standard (ISO/IEC 9899:2024) is nicknamed C23. C23 maintains the spirit of C, while adding new features and functions to improve the safety, security, and capabilities of the language.
Attributes
The [[attributes]] syntax was added to C23 to specify additional information for various source constructs such as types, objects, identifiers, or blocks (Ballman 2019). Prior to C23, similar features were provided in an implementation-defined (nonportable) manner:
__declspec(deprecated) __attribute__((warn_unused_result)) int func(const char ...
Get Effective C, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.