Main.cc: In function 'int main()': Main.cc:22:13: error: too few arguments to function 'int sushu(int, int)' if(sushu(s)==1&&i!=a){ ^ Main.cc:4:5: note: declared here int sushu(int n,int m){ ^ Main.cc: In function 'int sushu(int, int)': Main.cc:17:1: warning: control reaches end of non-void function [-Wreturn-type] } ^