Solved

Given the Following Strucure Definitions, What Is the Correct Way

Question 28

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents