Can i give d definition as:
void printvalues(int nvalue1=0, int nvalue2=2)
{
cout<<"1st : "<< nvalue1<< endl;
cout<<"2st : "<< nvalue2<< endl;
}
and call the function as:
printvalues(,3);
Can i give d definition as:
void printvalues(int nvalue1=0, int nvalue2=2)
{
cout<<"1st : "<< nvalue1<< endl;
cout<<"2st : "<< nvalue2<< endl;
}
and call the function as:
printvalues(,3);