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 the difference between PIC 9.99 and 9v99?

7 Answers  


What is static and dynamic call in cobol?

0 Answers  


If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?

8 Answers   CTS,


What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?

2 Answers   Cap Gemini,


wht is structured cobol pgm and non structred cobol pgm ?

1 Answers   CTS, DELL,






.How to add one input & one Out file in existing cobol program. how approach tell me step by step.

2 Answers   Syntel,


What is the usage of comp fields in cobol?

0 Answers  


What is difference between comp & comp-4?

6 Answers  


what is index and how to use two tables using index?

1 Answers  


select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself

2 Answers  


Can anybody give me example of subscript and index

5 Answers  


What is inspect in cobol ?

0 Answers   Infosys,


Categories