Hi Folks, I was stuck up with one small doubt on Function parameters in Pro*C file writting. int b = 3; main() { f(3); } f(a,b) { 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.
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.