Default Parameters in Pro*C ?????'s Avatar, Join Date: Aug 2007
Newbie Member
Hi Folks,

I was stuck up with one small doubt on Function parameters in Pro*C
file writting.

int b = 3;

int a;
return --;

can i use default parameter 'b' in the called function,where calling the function from main() through single parameter,is this is possible in pro*c.

Please i want immediate response.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
As far as I know C does not have the default parameter concept but its there in C++ but what you have written is wrong as far as C++ is also concern because you need to specify the default value when nothing is passed.