Challenge: Compare Two Given Dates

Apply what you’ve learned about structures in the coding exercises in this lesson.

Problem statement

In this challenge, you will have to implement the compareDates function.

int compareDates(struct date d1, struct date d2);

Get hands-on with 1400+ tech skills courses.