too few arguments to function in c

C
// "error: too few arguments to function 'printDay'" means you're passing
// the wrong number of argument to printDay when you call it here:
printDay(input());
// You're passing one argument but your declaration of printDay shows 
// that it takes 3 arguments:
void printDay(int month, int day, int firstDay);
Source

Also in C: