initialization
Giving a variable its first value when it is created.
Initialization sets an object's value as part of creating it (int n{3};), which is different from assignment to an object that already exists.
See also
Giving a variable its first value when it is created.
Initialization sets an object's value as part of creating it (int n{3};), which is different from assignment to an object that already exists.
See also