Default Parameters in Pro*C ????? [message #259557] |
Thu, 16 August 2007 00:02 |
sivakumar.oracle
Messages: 9 Registered: August 2007 Location: Bangalore
|
Junior Member |
|
|
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.
[Updated on: Thu, 16 August 2007 00:03] Report message to a moderator
|
|
|
Re: Default Parameters in Pro*C ????? [message #259581 is a reply to message #259557] |
Thu, 16 August 2007 00:50 |
|
Michel Cadot
Messages: 68732 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Pro*C is just a precompiler for C which allows you to embed Oracle/SQL/PL/SQL statements in your C code.
What you ask is a C question not a Pro*C one.
Quote: | Please i want immediate response
|
This is a volonteer forum, you have not to ask for an immediate answer, you have not to want something, you just have to ask if someone would like to answer you.
Read your C manual or post the question in C forum.
Also, read and follow How to format your posts
Regards
Michel
|
|
|