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

What is the LINKAGE SECTION used in COBOL?

889


Define cobol?

862


What is static and dynamic call in cobol?

594


What is Pic 9v99 Indicates in COBOL?

726


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2105






How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2730


What is length is cobol?

650


) what is the difference between AID and HANDLE AID?

1636


Can we change the password using ALTER? anyone tried and changed?

1547


What are the different open modes available in cobol?

720


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

672


What is perform what is varying?

709


HOw can I get the negative sign while deduct high value from low value

1790


Can we redefine the field of x(200) to less than 200?

818


) How do u handle errors in BMS macro

1510