How is dynamic initialisation achieved in c plus plus?

1 answer

Answer

1089744

2026-04-29 14:25

+ Follow

The C++ standard has this to say about dynamic initialisation:

"Objects with static storage duration shall be zero-initialised before any other initialisation takes place. Zero-initialisation and initialisation with a constant expression are collectively called static initialisation; all other initialisation is dynamic initialisation."

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.