First page Back Continue Last page Graphics
CONSTRUCTORS (cont.)
If an object is of built-in type, then value-initializing it sets it to zero, and default-initializing it gives it an undefined value.
O.W. the object can be only of a class type that does not define any constructors. In that case, value- or default-initializing the object value- or default-initializes each of its data members. (This initialization process is recursive).
Currently, our Student_info is of the third type.