All these functions are outside the int main():
int func1(int x) { int v1 = 6 * x; return v1; // the input argument will be 2, so v1 = 12 } int func2()
Should be:
int func2(){ int v2 = func1(2) / 4; // It's suppose to be 12 / 4 return v2; }
Whenever you call a function, you have to pass the parameters it requires.
You get "too few arguments" because you're not passing the right amount of arguments!