Check out example codes for "too few arguments to function in c". It will help you in understanding the concepts better.

Code Example 1

// "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);

Learn ReactJs, React Native from akashmittal.com