Q.For the code segment struct DOB {int date, month, year;} struct person {char name[30]; struct DOB birthdate;} p, *ptr = & p; Which of the following is not a valid expression to access year of birth date?
Correct answer: ptr -> birthdate.year
Read, practise, and share this question using its permanent link.