Tag: fundamentals
All the articles with the tag "fundamentals".
-
Storage Classes in C++: static, extern, thread_local, and mutable
Understand storage classes in C++ with working examples. Learn how static, extern, thread_local, and mutable control a variable's lifetime, scope, and linkage.
-
How to Swap Two Numbers in C++: 4 Methods Explained
Learn how to swap two numbers in C++ using a temp variable, std::swap, references, and arithmetic. Clear beginner examples showing when to use each method.