valueinitialization
Value initialization is a fundamental concept in C++ that determines the initial state of objects. When an object is value-initialized, its constructor is called, or if there is no suitable constructor, it is zero-initialized. For fundamental types like integers or floating-point numbers, value initialization results in zero-initialization. For class types, it invokes the default constructor. If the class type has no user-declared constructors, the compiler-generated default constructor will be called, which in turn may perform member-wise initialization.
There are several ways to trigger value initialization. One common method is using empty parentheses after