Main.cc: In function 'long long int nl_t(int, int)': Main.cc:7:18: error: too few arguments to function 'long long int nl_t(int, int)' return nl_t(b-1)*b; ^ Main.cc:3:11: note: declared here long long nl_t(int a,int b){ ^