Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


what is call by value and call by reference ?

Answers were Sorted based on User's Feedback



what is call by value and call by reference ?..

Answer / srinivasa yadav

CALL BY VALUE: THE MEMORY AREA FOR ACTUAL AND FORMAL
PARAMETERS ARE DIFFERENT.
CALL BY REFERENCE: THE MEMORY AREA FOR ACTUAL AND FORMAL
PARAMETERS ARE SAME. SO WHATEVER VALUES HAS CHANGED IN
FORMAL PARAMETERS WILL BE EFFECTED TO ACTUAL PARAMETERS.

Is This Answer Correct ?    24 Yes 2 No

what is call by value and call by reference ?..

Answer / pradeep reddy

call by reference is a defoult if we change farmal
parameters then actual parameters also get changed..
call by value: its user defined if we change farmal
parameters not effected actual parameters...

Is This Answer Correct ?    15 Yes 3 No

what is call by value and call by reference ?..

Answer / raghunathareddy

call by value means intialize the vatriable..cal by ref means
calling the reference....

Is This Answer Correct ?    6 Yes 7 No

Post New Answer



More COBOL Interview Questions

What is R-mode and A-mode?

3 Answers   TCS,


level number 77 is used to define a)group data b)elementary data c)redefine d)none

8 Answers   TCS,


Why occurs cannot be used in 01 level in COBOL?

0 Answers   Arigo Infotech,


How to define variable 9(20) in COBOL, because compiler does not allow us to declare variables with Pic 9(18). Can anyone please let me know the answer... I know one answer to this question which is to use Compiler option Arith (Extend) during Compilation. It extends the maximum limit to 9(32)..Just wanted to know if there is any other way to extend this?

4 Answers   CSC, TCS,


Move Zeroes to I move 5 to j perform para1 varying I from 10 by -2 until I = 0 display j. para1. Add 5 to j. What’ll be the value after execution of display stmt. A) 35 B) 40 C) 30 D) 25 please explain how?

5 Answers  






why we are using set in searchall?

4 Answers   IBM,


COMP?

2 Answers  


how to code in cobol while using variable block file?

1 Answers  


Can JUSTIFIED be used for all the data types?

3 Answers  


diffrence between z(2) and z9(2)

4 Answers   Cap Gemini,


what is meaning by design document? who can repared for this?

5 Answers   TCS,


What are the two search techniques ?

2 Answers   iGate,






Categories