Solved

Given the Following Strucure Definitions, What Is the Correct Way

Question 53

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions