What are the modes of parameters that can be passed to a procedure ?

 IN,OUT,IN-OUT parameters.

Showing Answers 1 - 6 of 6 Answers

Bonthu

  • Feb 11th, 2006
 

1> IN

2> OUT

3>INOUT.

Cheers,

Bonthu

  Was this answer useful?  Yes

Santanu Maity

  • Jun 14th, 2006
 

IN     value pass by reference
Out   value pass by value
INOUT  value pass by value

  Was this answer useful?  Yes

bavani

  • Oct 23rd, 2006
 

in - pass by value like constant values

out - uninitialized variable

inout -initialized variable

  Was this answer useful?  Yes

g_sidhu

  • Jan 31st, 2008
 

IN (default): Passes a constant value from the calling environment into the procedure

OUT     :Passes a value from the procedure to the calling environment

IN OUT  :Passes a value from the calling environment into the procedure and a

                    possibly different value from the procedure back to the calling environment
                    using the same parameter

KSPRADEEP

  • Oct 17th, 2012
 

Two modes of parameters are available to pass the parameter In and Out, the default parameter is IN.
In : Lets you pass a value to subprogram being called.It can not be changed inside the parameter(Constant)
Out:Lets the subprogram pass a valu to caller in side the subprogram. out parameter is an uninitialized variable.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions