Closed krook1024 closed 3 years ago
The compiler probably handles it, but let us be on the safe side.
No, absolutely not. The compiler will NOT handle this. C++ does not work that way. You might be lucky that it's usually zero just because of the way OSes work but make no mistake: this initialization is needed for correctness.
Thank you - good spot
The compiler probably handles it, but let us be on the safe side.