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

Difference Between Structure and Union in C

S.no C Structure C Union 1 Structure allocates storage space for all its members separately. Union allocates one common storage space for all its m...

C Type Qualifiers

C – type qualifiers : The keywords which are used to modify the properties of a variable are called type qualifiers. Types of C type qualifiers: There are two types of qualifiers avai...

C Preprocessor Directives

Before a C program is compiled in a compiler, source code is processed by a program called preprocessor. This process is called preprocessing. Commands used in preprocessor are call...

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