GeekInterview.com
Series: Subject: Topic:
Question: 386 of 429

What is difference between a formal and an actual parameter?

The variables declared in the procedure and which are passed, as arguments are called actual, the parameters in the procedure declaration. Actual parameters contain the values that are passed to a procedure and receive results. Formal parameters are the placeholders for the values of actual parameters
Asked by: Interview Candidate | Asked on: Aug 29th, 2004
Showing Answers 1 - 5 of 5 Answers
anil

Answered On : Nov 10th, 2006

Actual parameter versus Formal ParametersActual parameters are variables or expressions referenced in the parameter list of subprogram callFormal parameters are variables or expressions declared in the subprogram specificaion and referenced in the subprogram body

  
Login to rate this answer.
rajakumar_na

Answered On : Nov 14th, 2007

View all answers by rajakumar_na

Formal Parameter: A variable declared in the parameter list of a subprogram specificationExample: create or replace procedure/function x (p_id number, p_sal number)Actual Parameter: A variable or expression refrenced in the parameter list of a subprogram call.example: execute x( 100,v_sal)

  
Login to rate this answer.
krishna

Answered On : Aug 8th, 2011

Parameters which are in calling subprogram are actual parameters.

Parameters which are in called subprogram are formal parameters.

If any subprogram was called, once the call was completed then the values of formal

  
Login to rate this answer.
Rakesh Bawa

Answered On : Aug 11th, 2011

The Parameters that appear in method call statement is called Actual Parameter.The parameter that appear in method definition is called formal parameter

  
Login to rate this answer.
Rakesh Bawa

Answered On : Aug 11th, 2011

The variables declared in the procedure and which are passed, as arguments are called actual, the parameters in the procedure declaration. Actual parameters contain the values that are passed to a procedure and receive results. Formal parameters are the placeholders for the values of actual parameter

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.