/* Program 11-4

   Illustration of pointer to structure */

main ()
{
 struct date
 {
  int month;
  int day;
  int year;
 };

 struct date today, *date_pointer;

 date_pointer = &today;
 date_pointer->month = 9;
 date_pointer->day = 25;
 date_pointer->year = 1983;

 printf ("Today's date is %d/%d/%d.\n",
	 date_pointer->month, date_pointer->day, date_pointer->year % 100);
}


/* Program Output

Today's date is 9/25/83.

*/
