Too few arguments to function code example
Example 1: too few arguments to function in 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);
Example 2: c++ too few arguments in function call
student1.setName();
student1.setAge();
student1.setID();
student1.setGPA();