printf("%s %c %d\n", pHead->pAry[2].title,


pHead->pAry[2].date.year );


pHead is a pointer to the head structure, so we need to use the arrow operator to access the pAry field that is in the head structure.

Once we get to the pAry field, we want the third book in the array, so we index the array with the index of 2.

Once we get the book structure that is at index 2, we access each field with the dot operator.

For the title, we print the whole string using %s

For the author, we want the first letter of the name, so we print the character at index 0 with %c

For the date, it is another structure, so we access the year with the dot operator again and print the year with %d