Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Default Parameters in Pro*C ????? (http://www.go4expert.com/forums/default-parameters-proc-t5893/)

sivakumar.oracle 16Aug2007 14:24

Default Parameters in Pro*C ?????
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 16Aug2007 14:55

Re: Default Parameters in Pro*C ?????
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.

All times are GMT +5.5. The time now is 14:52.