When Should We Use Static Local Variables in C++?
Understanding what actually happens when we use static local variables and when we should use them
Published in
5 min readJan 13, 2022
C++ Storage Duration
One of the basics we often miss when learning C++ is understanding the details of storage duration. The storage duration of an object determines its…