0_0_20732677_28157.cpp: In function 'int main()': 0_0_20732677_28157.cpp:41:25: error: too few arguments to function 'void add(int, int, int)' add(i,num[i]); ^ 0_0_20732677_28157.cpp:17:6: note: declared here void add(int i,int x,int mod) ^