you must not use specify the default value both in function prototype and definition
void printvalues(int nvalue1, int nvalue2) { cout<<"1st : "<< nvalue1<< endl; cout<<"2st : "<< nvalue2<< endl; }
you must not use specify the default value both in function prototype and definition
void printvalues(int nvalue1, int nvalue2) { cout<<"1st : "<< nvalue1<< endl; cout<<"2st : "<< nvalue2<< endl; }