Tagged articles
3 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
May 19, 2025 · Fundamentals

Understanding C Macro Expansion: When Parameters Expand and When They Don’t

This article explains the C preprocessor's macro‑expansion rules, detailing when macro arguments are expanded, how replacement‑list macros behave, special cases involving the # and ## operators, and provides step‑by‑step examples and techniques for controlling expansion.

C languageMacro ExpansionPreprocessor
0 likes · 7 min read
Understanding C Macro Expansion: When Parameters Expand and When They Don’t
Java Captain
Java Captain
May 3, 2018 · Fundamentals

Understanding Java Strings: Creation, Immutability, and Operations

This article explains Java's String class, covering its automatic import, how to create string objects without the new keyword, concatenation, immutability, common methods like replace, and provides useful API references and code examples for practical use.

APIImmutableString
0 likes · 6 min read
Understanding Java Strings: Creation, Immutability, and Operations