Home » Developer & Programmer » Precompilers, OCI & OCCI » Default Parameters in Pro*C ?????
Default Parameters in Pro*C ????? [message #259557] Thu, 16 August 2007 00:02 Go to next message
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 Go to previous message
Michel Cadot
Messages: 59748
Registered: March 2007
Location: Nanterre, France, http://...
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
Previous Topic: Pro*C demo files are not installed
Next Topic: to compile without /usr/lib/libc.2 library
Goto Forum:
  


Current Time: Sun Nov 23 04:23:49 CST 2014

Total time taken to generate the page: 0.05212 seconds