0_0_14666043_8040.cpp: In function 'int main()': 0_0_14666043_8040.cpp:30:19: error: too few arguments to function 'int check(int, int, int, int)' if(check(a)) ^ 0_0_14666043_8040.cpp:12:6: note: declared here int check(int a,int b,int c,int d) ^