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
Difference between cobol and cobol-ii?
What is amode(24)?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Discuss about changing dataset name in proc.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between comp and comp-3 usage?
how do you reference the printer file formats from cobol programs
Why would you use find and get rather than to obtain?
what is the use of outrecord?
how do you reference the variable block file formats from cobol programs
how do you reference the variable unblock file formats from cobol programs
Write some characteristics of cobol as means of business language.
What rules are followed by the search verb.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?