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()
The function needs an argument, so pass it an argument.
It's as simple as that.