Computer Science, asked by srriyo, 1 year ago

diffence between the formal parameters and actual parameters . also give a suitable c++ code to illustrate both .

Answers

Answered by Brainlytrainer
11
▪️◾️◼️ ANSWER :-

ACTUAL PARAMETER :-

ACTUAL PARAMETER is a parameter , which is used in function call statement to send the value from calling function to the called function.

FORMAL PARAMETER :-

formal parameter is a parameter , which is used in function header of the called function to receive the value from actual parameter . for example ,

void Multiply (int T). //T is formal parameter.

{ cout << 5* T ; }

int main ( )

{ int A = 45 ;

Multiply ( A) ; // A is a factual parameter sent to multiply.( )

}


===========================================

BE BRAINLY

srriyo: thnk rishu
srriyo: in which clasd
Answered by driptisinha
2
{ int x = 5 ' , y = 7;


that a function large
Similar questions