what is call by value and call by reference ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

example for sub strings ? and refernce modifications whit output pls

1827


i need a small 3d program using inline and outline.

1624


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1571


What are the different open modes available in cobol?

708


how to move the records from file to array table. give with code example

2202






1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1599


what are decleratives in cobol?

1816


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1940


What is a SSRANGE and NOSSRANGE?

800


In COBOL programming, what is PERFORM? What is VARYING?

662


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2708


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5646


What is the default value(s) for an initialize and what keyword allows for an override of the default?

680


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2041


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1939