int validMonth(int mon, char* errmes){ return ((mon >= 1 && mon <= 12) || !strcpy(errmes, "Invalid month!")); }
No comments:
Post a Comment