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

What is a Constant? What are the Different Types of Constants?

Constants in C refer to fixed values that do not change during the execution of a program. C supports several types of constants. Integer constants: An integer constant refers t...

What are Keywords & Identifiers?

Every C word is classified as either a keyword (or) identifier. Keyword : There are certain reserved words called keywords. All key words have fixed meanings & these meanin...

What is Character Set of 'C'?

Characters that can be used to form words, numbers & expressions depend upon the computer on which the program is run. The characters in C are grouped into the following categories: 1. le...

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