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

How you can read the file from bottom?

660


how do you reference the variable unblock file formats from cobol programs

750


Why occurs cannot be used in 01 level in COBOL?

719


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

1640


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8167






How are the next sentence and continue different from each other?

766


How do you get the data to code the BMS macro?

1476


how do you reference the rrds file formats from cobol programs

802


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1876


Define cobol?

866


What rules are to be followed while using the corresponding options?

641


What is difference between static and dynamic call in cobol?

778


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

697


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

2724


What is static and dynamic call in cobol?

598