What are the Differences Between Call by Value and Call by Reference?

CALL BY VALUE CALL BY REFERENCE   A) Formal parameters is local variable.   A) Formal pa...


CALL BY VALUE

CALL BY REFERENCE

  A)
Formal parameters is local variable.

  A)
Formal parameter is local reference
  B)
It is a duplicate of actual parameter

  B)
It is a synonym of actual parameter
  C)
It cannot change the actual argument.

  C)
It can change the actual argument
  D)
Actual parameter may be a constant, a variable or an expression.
  D)
Actual parameter is read –write.

Related

C Language 7111900113900642843

Post a Comment

emo-but-icon

item