What do the following phrases mean in C++: zero-, default- and value-initialization?

Viewed 35248

What do the following phrases mean in C++:

  • zero-initialization,

  • default-initialization, and

  • value-initialization

What should a C++ developer know about them?

2 Answers
Related