Lesser known tricks, quirks and features of C

This web content highlights some of the lesser-known tricks, quirks, and features of the C programming language. The author provides explanations and examples of various topics, such as array pointers, the comma operator, designated initializers, compound literals, multi-character constants, bit fields, and more. One surprising feature is the ability to use the comma operator to separate expressions in a way that only the right-most expression is considered. The author also mentions the use of digraphs, trigraphs, and alternative tokens, which are multi-character sequences treated as other characters by the compiler. Overall, this content aims to shed light on some of the interesting aspects of C programming.


To top