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

Write about Bit Fields in C?

The number of bits required for the structure variable is equal to the sum of the number of bits required for reach field. The structure allows us to specify the number...

How to Copy and Compare Structure Variables?

Two variables of the same structure type can be copied the same way as ordinary variables. If persona1 and person2 belong to the same structure, then the following statements...

What are the Various Input/Output Functions used in Files?

In C language the input, output operations with files are performed with the help of library functions. Once a file is opened, reading out of or writing to it is accomplished usin...

Post a Comment

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

item