Multiple Choice
Given the following strucure definitions, what is the correct way to print the person's birth year?
Struct DateType
{
Int day;
Int month;
Int year;
}
Struct PersonType
{
Int age;
Float weight;
DateType birthday;
}
PersonType person;
A) cout << person.birthday.year;
B) cout << year;
C) cout << birthday.year;
D) cout << peson.year;
Correct Answer:

Verified
Correct Answer:
Verified
Q48: A structure can only be passed to
Q49: The assignment operator may not be used
Q50: Given the following class definition and the
Q51: If class A is derived from class
Q52: A structure variable is a collection of
Q54: Given the following class, what would be
Q55: It is possible to have multiple private
Q56: A struct variable is declared differently from
Q57: A derived class is more specific than
Q58: Given the following class definition, how would