Computer Science, asked by Arpit123, 1 year ago

what are actual and formal parameters

Answers

Answered by yasas
2
actual parameters contain the values that are passed to a procedure and receive results. formal parameters are the placeholders of values of actual parameters
Answered by harsh05572
5

Answer

______________________________________

Actual Parameters :- The tables given at the time of method function calling for (invoking) without their data types are known as actual parameters or arguments.

______________________________________

Formal Parameters :- The list of variables given at the time of method function definition along with their data types are known as formal or local aadami parameters or arguments.

______________________________________

Ex-

class Rectangle

{

double length, breadth;

void Accept( double 1, double b)

void showArea()

______________________________________

Similar questions