If I understand you correctly, you want to prompt for a month and day (12 and 25 in your example), and the program should print out the day of the week for that day in the current year.
What I mean is that you can ignore the return value of mktime(). You're interested in the side effect that mktime() will fill in the members of struct tm argument. In particular, it will set tm_wday to the number of days since the last Sunday.