void printdate(int month1, int day1, int year1);

This function is expecting integers to be passed to it.


printdate1(&month1,&day1,&year1);

But you're passing the address of the integer...