13.8 — Struct aggregate initialization
In the previous lesson (), we talked about how to define structs, instantiate struct objects, and access their members. In this lesson, we’ll discuss how structs are initialized. Data members are not initialized by default Much like normal variables, data members are not initialized by default. Consider the following struct: …