Consider these hierarchical structures.
struct Date
{
int year;
//members
};
struct Person
{
Date birthDay;
//other members
};
Person Bill;
The year of Bill's birthday may be accessed as Bill.year;
Correct Answer:
Verified
Q1: A sure test of whether you have
Q2: A structure variable can be defined directly
Q4: Multiple public: and private: sections are prohibited
Q5: There is no aggregate initialization available for
Q6: Structure definitions are usually global (defined outside
Q7: A structure member is access using the
Q8: No special syntax is necessary to define
Q9: There is no access to private members
Q10: The following definition of the structure variables
Q11: Consider the class and struct definitions
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents