0_0_32637410_29540.cpp: In function 'int main()': 0_0_32637410_29540.cpp:8:22: error: too many arguments to function 'int f()' printf("%d",f(A,B,n)); ^ 0_0_32637410_29540.cpp:2:5: note: declared here int f(); ^